Run local tests on a PlatformIO project. More information: https://docs.platformio.org/en/latest/core/userguide/cmd_test.html.
pio test
pio test --environment environment1 --environment environment2
pio test --filter "pattern"
pio test --ignore "pattern"
pio test --upload-port upload_port
pio test --project-conf path/to/platformio.ini