Skip to content

A Docker container of a C unit testing environment with Ceedling and friends, including other useful tools like static code analyzers and beautifiers

License

Notifications You must be signed in to change notification settings

vortexmakes/embedded-code-quality

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C unit testing environment with Ceedling and friends

It includes other useful tools like static code analyzers and beautifier

To use with bash shell

$ docker run --rm -v local/path/to/project:/usr/project -ti leanfrancucci/ceedling

Assuming Ceedling project already setup, in CI use:

$ docker run --rm -v local/path/to/project:/usr/project -ti leanfrancucci/ceedling ceedling test:all

To test a module:

$ docker run --rm -v local/path/to/project:/usr/project -w /usr/project/path/to/module -it \
                     leanfrancucci/ceedling:latest ceedling test:<module>

Todo

  • Integrate static code analyzers' scripts (uno, cppcheck, ...)
  • Integrate beautifier script (uncrustify)

About

A Docker container of a C unit testing environment with Ceedling and friends, including other useful tools like static code analyzers and beautifiers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published