test_filter

Type: String (Pattern) | Multiple: Yes

Process only test suites whose path relative to the test_dir matches the specified pattern. See Test Hierarchy for more details.

Also, you can override this option using the pio test --filter command.

Pattern

Meaning

*

matches everything

?

matches any single character

[seq]

matches any character in seq

[!seq]

matches any character not in seq

Example

[env:myenv]
platform = native
test_filter =
  test_common
  native/*