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

rust-pretty-assertions/rust-pretty-assertions

Some data may be outdated — see provenance labels.

Overwrite `assert_eq!` with a drop-in replacement, adding a colorful diff. observed · 2026-09-27

github.com/rust-pretty-assertions/rust-pretty-assertions · Rust · Apache-2.0 (permissive) observed · 2026-09-27

Health v2 · maintenance only

39/100

  • Activity 35
  • Release rhythm 8
  • Longevity 100
How is this computed?

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

  • gap_med: n/a
  • age_days: 3496
  • days_rel: n/a
  • days_push: 390
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1358 stars · 46 forks observed · 2026-09-27

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

A Rust crate that provides drop-in replacements for assert_eq! and assert_ne! macros with colorful, human-readable diffs on failure. It is intended as a dev-dependency to improve test failure output with minimal code changes.

Use cases

  • make rust test failures easier to read
  • show a colorful diff when assert_eq fails
  • drop-in replacement for std assert_eq in tests
  • compare large structs in tests and spot differences quickly
  • improve assertion output for strings and collections

When to choose

  • you write Rust tests that use assert_eq! and want clearer failure messages
  • you want a one-line change to improve test diagnostics
  • you want to avoid affecting production build compile times via dev-dependencies

When to avoid

  • you need exact, stable assertion output for snapshot testing
  • you need assertions in production code rather than tests

Facets

library · maturity active

testing testing developer-tools rust cross-platform assertions diff rust-crate dev-dependency test-output

1 source

Member repositories

RepositoryRoleHealth v2
rust-pretty-assertions/rust-pretty-assertionsmain39

For agents

markdown · JSON · MCP: product_card(name="rust-pretty-assertions/rust-pretty-assertions")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem