C unit testing environment with Unity, CMock, and Ceedling. The purpose of this docker image is to create an easy-to-install portable system for running unit tests with Ceedling.
- Testing tools
- C support
- CException 1.3.2
- libc-dev 0.7.2
- Environment
- coreutils 8.31
- gcc 9.3.0
- gcov 9.3.0
- gdb 8.3.1
- valgrind 3.15.0
- Ruby 2.7.1
docker run -it --rm -v <local project path>:/project throwtheswitch/madsciencelab[:tag]
But a better solution is a .bashrc function that automatically maps your pwd to project and sets the user and group to the current user. This avoids file creation as root when doing a ceedling:create .
ceed_here() { docker run --user $(id -u):$(id -g) -it --rm -v $(pwd):/project bd2357/ceedling_withgdb; }