platformio / platformio/platformio-core
Sibling folders
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 9.5k
- Forks
- 905
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 2
Description
Hi, I would like to run my unity tests with both the source lib and the unit test .cpp/.h being in separate sibling folders rather than child folders.
I usually struggle with this.
Specifically a structure like:
- src/estd
- test/unity
- test/arduino/unity
Where platformio.ini and friends are in test/arduino/unity, tests in test/unity and lib source in src/estd
I've resorted to symlinks but it's pretty clunky and makes VSCode go insane
Please observe https://github.com/malachi-iot/estdlib/tree/v0.8.5/test/arduino/unity as a demonstration
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the example project at test/arduino/unity and its platformio.ini, then compare how tests in test/unity and sources in src/estd are discovered and built. The work is done when PlatformIO supports this sibling-folder layout without symlinks and the demonstrated Unity tests run successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system, embedded-iot, testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100