/cmocka-embedded-example

An example of unit testing embedded C code using the cmocka framework

Primary LanguageC

cmocka-embedded-example

Example code for using the cmocka framework to unit test embedded code.

More details can be found on the corresponding article on my blog.

Testing

To run the tests, clone this repo and:

cd test
make

make, cmake, gcc are all dependencies that you will need.