Decision Workspace
test-that-macro vs hamcrest2 vs googletest_macro
Side-by-side comparison of Rust crates
55
test-that-macro
experimentalv0.6.0
Procedural macros for test-that
64
hamcrest2
stablev1.0.1
A port of the Hamcrest testing library. Fork of original hamcrest-rust (which is unmaintained) with extra matchers, better docs, Rust 2024 support etc.
59
googletest_macro
growingv0.14.3
Procedural macros for GoogleTest Rust
Core Metrics
| test-that-macro | hamcrest2 | googletest_macro | |
|---|---|---|---|
| Health Score | 55 | 64 | 59 |
| Total Downloads | 5.4K | 891.2K | 8.2M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 9 | 483 | 21 |
| Releases | 9 | 11 | 20 |
| Last Updated | 21d ago | 11d ago | 128d ago |
| Age | 3m | 8y 5m | 3y 10m |
Health Breakdown
test-that-macro
Maintenance
18
Quality
14
Community
9
Popularity
4
Documentation
10
hamcrest2
Maintenance
15
Quality
16
Community
13
Popularity
7
Documentation
13
googletest_macro
Maintenance
12
Quality
15
Community
14
Popularity
8
Documentation
10
Technical Details
| test-that-macro | hamcrest2 | googletest_macro | |
|---|---|---|---|
| Version | 0.6.0 | 1.0.1 | 0.14.3 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 2 | 2 | 3 |
| Crate Size | 7KB | 19KB | 15KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 6 |
Links
Quick Verdict
- •hamcrest2 leads with a health score of 64/100, but none of the options score above 80.
- •googletest_macro has the most downloads (8.2M), suggesting wider adoption.
- •hamcrest2 is depended on by 483 crates — strongest ecosystem trust.
- •test-that-macro, googletest_macro are pre-1.0 — API may change.