I would like to use platformio’s cli to run the unit tests for my Arduino project (hermes).
The unit tests do not require any Arduino code to be run as I do all my interactions with the controller via an interface which can be mocked out.
At the moment I can compile then run the tests using g++ but I would like to be able to do something like
platformio run --target test. I think that means creating a custom target?
Is this possible?
Sorry if I’m a bit confused, I only just started using platformio as a way to upload my firmware from a headless server.