Skip to content

Example projects

Ceedling comes with entire example projects you can export. These include reasonable approximations of real world code for learning and reference.

How to export projects

  1. Execute ceedling examples in your terminal to list available example projects.
  2. Execute ceedling example <project> [destination] to extract the named example project to an optional destination directory (defaults to current working directory).

Available projects

Once you’ve exported a project you can inspect the project.yml file and source & test code. Run ceedling help from the root of an example project to see what you can do, or just go nuts with ceedling test:all.

  • temp_sensor


    An imagined temperature sensor project containing assertions, mocks, and code techniques representative of testing in embedded development. Test suite only.

  • wondrous_forest


    An imagined forest monitoring system project illustrating the use of Partials in a test suite. Test suite only.

  • cipher_quest


    An imagined spy’s command line string manipulation toolkit. This project can be run both as a test suite and as a release build. It demonstrates build options around conditional compilation (ifdef) and defining symbols with Ceedling including with Mixins.