Test only specific environments

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 --environment {{environment1}} --environment {{environment2}}

click the source code to copy