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

Snaipe/Criterion

A cross-platform C and C++ unit testing framework for the 21st century observed · 2026-08-28

github.com/Snaipe/Criterion · C · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

69/100

  • Activity 93
  • Release rhythm 20
  • Longevity 100
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: 4232
  • days_rel: 323
  • days_push: 47
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

2297 stars · 189 forks observed · 2026-08-28

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

Criterion is a cross-platform unit testing framework for C and C++ that automatically registers tests and provides a xUnit-style structure with minimal boilerplate. Tests run in isolated processes so crashes and signals can be reported and asserted, with support for parameterized tests, theories, and TAP output.

Use cases

  • unit test c code without boilerplate
  • test c++ code with a unified framework
  • assert that code crashes or raises signals
  • write parameterized tests and theories in c
  • output test results in TAP format for CI
  • run tests on linux, macos, and windows

When to choose

  • you write C99 or C++11 code and want automatic test registration with no main function
  • you need process-isolated tests that survive and report crashes
  • you want one framework working identically for both C and C++ across platforms

When to avoid

  • you need a header-only or single-file test framework
  • your toolchain doesn't support the platforms Criterion targets
  • you prefer a minimal assert-only library like MinUnit or Catch2-style single headers

Facets

library · maturity active

testing e2e-testing testing developer-tools cross-platform windows bsd cross-platform cpp c unit-testing xunit c99 cpp11 tap-output parameterized-tests test-isolation linux macos

1 source

Member repositories

RepositoryRoleHealth v2
Snaipe/Criterionmain69

For agents

markdown · JSON · MCP: product_card(name="Snaipe/Criterion")

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