unity-ceedling-test

Solid

Embedded unit testing with Unity framework and CMock

Testing & QA 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Unity/Ceedling Test Skill ## Overview This skill provides embedded unit testing capabilities using the Unity test framework, CMock mock generation, and Ceedling build system for comprehensive off-target and on-target testing. ## Capabilities ### Unity Test Framework - Test case generation - Assertion macro usage - Test fixture setup/teardown - Test group organization - Parameterized tests - Custom assertions ### CMock Mock Generation - Automatic mock generation from headers - HAL/driver mocking strategies - Callback mocking - Argument capture and validation - Return value configuration - Call count verification ### Ceedling Build System - Project configuration (project.yml) - Test runner generation - Coverage integration - Compiler configuration - Plugin management - CI/CD integration ### Hardware Abstraction Mocking - Register mock strategies - DMA mock patterns - Interrupt mock handling - Timing mock approaches - State machine mocking ### Test Coverage - gcov integration - lcov report generation - Branch coverage analysis - MC/DC coverage (for safety) - Coverage threshold enforcement ### Off-Target Testing - Host compilation setup - Platform abstraction - Stub implementation - Double buffering for DMA - Fake timer implementations ## Target Processes - `embedded-unit-testing.js` - Unit test implementation - `device-driver-development.js` - Driver testing - `bsp-development.js` - BSP unit testing ## Dependencies - Unity test framework - CMock mock generator - C...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills