ThrowTheSwitch/Unity

Simple unit testing for C

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 3 minutes ago
Added to GitGenius on September 12th, 2026
Created on January 26th, 2012
Open Issues & Pull Requests: 84 (+0)
GitHub issues: Enabled
Number of forks: 1,134
Total Stargazers: 5,375 (+0)
Total Subscribers: 162 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 10.6 hours
Mean response time: 104.2 days
90th percentile: 423.8 days
Tracked items: 61

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 8% of issues opened in the past year have been closed. Three people close 79% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 29
New in 7 days: 0
Closed in 7 days: 1
Avg open age: 736 days
Stale 30+ days: 28
Stale 90+ days: 17

Recent activity

Opened in 7 days: 0
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • platform_io meson and such (8)
  • feature request (2)
  • can't reproduce !? (1)
  • docs (1)
  • unity extras (1)

Detailed Description

Unity Test is a unit testing framework built for C with a focus on embedded systems and microcontroller development.

The framework addresses the challenge of testing C code in resource-constrained environments where traditional testing infrastructure may be impractical. It solves this by providing a minimal, self-contained implementation consisting of a single C file and pair of headers that integrate directly into existing build systems without requiring external dependencies. This approach allows developers to add comprehensive unit testing to projects using any compiler and standard build tools like Make or CMake.

The tool suits teams developing firmware and embedded software where lightweight testing is essential. It works well in projects where keeping the test infrastructure simple and portable across different toolchains is a priority. For developers who prefer a more automated build experience, the README mentions Ceedling, a companion build tool also from ThrowTheSwitch.org that handles the harder work of test orchestration.

The project maintains active engagement with its user base through comprehensive documentation including a getting started guide and detailed assertion reference materials. Development activity shows consistent attention to known issues and a maintained changelog tracking improvements over time.