Can't include unity.h in private project for unit testing

Hi,

Hi,

I would like to set up unit testing in my project. I had an issue with including unity.h as it was not detected. I recently found that unit test folders for AWS components always have a unity folder in them. Would it be possible to make unity.h as a component that can be included in projects or is the only way to also include a unity folder in my project ?

Have posted here Attempting unit testing in private project · Issue #3010 · aws/amazon-freertos · GitHub. You should be able to either A: reuse the library being created by Amazon FreeRTOS’s CMake or B: Copy the code I have linked to create a Unity library to link against.

Thanks,

Carl

1 Like