Ross ROSS = Recommend OSS · open-source software intelligence for agents

google/cmockery

A lightweight library to simplify and generalize the process of writing unit tests for C applications. observed · 2026-08-28

github.com/google/cmockery · Shell · Apache-2.0 (permissive) · archived observed · 2026-08-28

Health v2 · maintenance only

10/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100

Flags: archived

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3921
  • days_rel: n/a
  • days_push: 2288
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1086 stars · 355 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Cmockery is a lightweight C library for writing unit tests, compiled into standalone test executables linked with the code under test. It emphasizes minimal dependencies and compatibility with old compilers, making it suitable for testing exotic or embedded code.

Use cases

  • write unit tests for C code
  • mock external functions in C unit tests
  • test C modules with old compilers
  • unit test embedded systems code
  • run C tests as standalone executables

When to choose

  • you need a minimal C unit testing framework with few dependencies
  • you're stuck with an old compiler that newer frameworks don't support
  • you're testing embedded or exotic C code with a custom C library

When to avoid

  • you want a modern, actively developed C testing framework
  • you're testing applications with the latest compilers where richer frameworks fit better
  • you need features like test discovery or rich assertion reporting

Facets

library · maturity maintenance

testing mocking e2e-testing testing developer-tools embedded-systems windows cross-platform c unit-testing c-unit-tests mocking-framework lightweight legacy-compiler-friendly linux

1 source

Member repositories

RepositoryRoleHealth v2
google/cmockerymain10

For agents

markdown · JSON · MCP: product_card(name="google/cmockery")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem