Specify a custom configuration file for running the tests

pio test

  • Run local tests on a PlatformIO project.
    More information: <https://docs.platformio.org/en/latest/core/userguide/cmd_test.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

pio test --project-conf {{path/to/platformio.ini}}

click the source code to copy