Unit Testing includepath
Posted: Wed Mar 20, 2019 5:12 pm
If I have a project structure that looks like:
Where in this project would the unit test app look for header files for the project? Currently I have all .c and .h files in project/main and would like to avoid making duplicates, if possible.
From the documentation and things I've read it seems like you have to make duplicate files for unity to be able to access them. Is there any way to avoid this and just use the project files I already have in project/main/?
Code: Select all
-project
+main
-components
-testable
-test
test.c
From the documentation and things I've read it seems like you have to make duplicate files for unity to be able to access them. Is there any way to avoid this and just use the project files I already have in project/main/?