Is there a way to pass extra arguments to the binary when running platformio test

Consider such case that I have a build on a native platform:

platform = native

I have tests running with Catch2 framework. Catch2 can run a subset of tests by passing an extra command line argument (see here).

I would like to use this possibility with platformio.

Is there a way then to pass the extra arguments to the call of the test binary, e.g. like:

platformio test -e native --extra-args="[testA][testB]"


1 Like

Please file a feature request here Issues · platformio/platformio-core · GitHub