I wrote a library with 10 .cpp files that are in the same src directories and now that I that write Unity tests I need to create a separate test directory for each test.
Why? The test runner could exclude on each test build all the other test_xxx.cpp files, so why requiring a complex directory structure?
Is this requirement specific for Unity or for all the test frameworks that platformio supports? I saw for example that one of the frameworks is Google Test, and at google they stuff all the .h, .cpp, and test files of a ‘package’ in the same source directory. Is it the same with platformio?