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

rust-pretty-assertions/rust-pretty-assertions

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

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

Health v2 · maintenance only

43/100

  • Activity 44
  • 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-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3447
  • days_rel: 717
  • days_push: 341
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

1355 stars · 46 forks observed · 2026-08-28

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-assertionsmain43

For agents

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

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