ceedling, unity and cmock
FreeUnit testing, mocking and build framework written in C with ruby for generating and building.
About ceedling, unity and cmock
Throw The Switch is a community for C developers offering open source testing tools: Unity (unit testing framework), CMock (mock and stub framework), and Ceedling (build/test automation). Unity is a powerful collection of functions and macros for unit testing in C, suitable for projects from tiny embedded microcontrollers to 64-bit systems. CMock automatically generates mocks from header files for interaction testing. Ceedling integrates these tools, automating test and release builds, collecting results, and connecting to quality tools. The community provides forums, documentation, GitHub issues, books, articles, and professional support through an online course and ThingamaByte consulting.
Key Features
Pros & Cons
- Free and open source
- Lightweight: Unity consists of a single C file and two headers
- Works across platforms from tiny embedded to 64-bit
- Seamless integration of testing and build automation
- Active community with forums and documentation
- Professional support and training available for teams
- Primarily designed for C language (not C++)
- Ceedling requires Ruby runtime for build automation