Test-driven development in C using CppUTest with memory leak checks on unit tests.
Configure with CMake. Run with Docker.
Setting up a compilation environment can be complex, even for a simple code base. This project demonstrates one approach to a scalable build system with unit tests.
It can be compiled with CMake and gcc using two different environments:
- System CMake/gcc
- Docker
cpputest_intro/subdirectory contains the source codebuild_production/holds build artifacts for release buildsbuild_test/holds build artifacts for unit testsDockerfiles/contains files for Dockerdocker_run.shis a wrapper around thedocker runcommanddocs/contains the source for the documentation web pages
See the documentation pages for details.