Decision Workspace
test-harness vs libtest-mimic vs assert-struct
Side-by-side comparison of Rust crates
49
test-harness
growingv0.3.1
a little test macro to wrap your tests with an arbitrary setup/teardown function
73
libtest-mimic
growingv0.8.2
Write your own test harness that looks and behaves like the built-in test harness used by `rustc --test`
63
assert-struct
experimentalv0.4.2
A procedural macro for ergonomic structural assertions in tests
Core Metrics
| test-harness | libtest-mimic | assert-struct | |
|---|---|---|---|
| Health Score | 49 | 73 | 63 |
| Total Downloads | 276.7K | 22.7M | 7.3K |
| 30d Downloads | 11.4K | 1.6M | 2.4K |
| Dependents | 100 | 4.5K | 10 |
| Releases | 5 | 17 | 7 |
| Last Updated | 311d ago | 11d ago | 4d ago |
| Age | 2y 12m | 7y 8m | 7m |
Health Breakdown
test-harness
Maintenance
9
Quality
14
Community
10
Popularity
6
Documentation
10
libtest-mimic
Maintenance
16
Quality
14
Community
20
Popularity
8
Documentation
15
assert-struct
Maintenance
19
Quality
15
Community
9
Popularity
5
Documentation
15
Technical Details
| test-harness | libtest-mimic | assert-struct | |
|---|---|---|---|
| Version | 0.3.1 | 0.8.2 | 0.4.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT/Apache-2.0 | MIT |
| Dependencies | 6 | 6 | 6 |
| Crate Size | 14KB | 28KB | 30KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | 1.65 | 1.85 |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •libtest-mimic leads with a health score of 73/100, but none of the options score above 80.
- •libtest-mimic is depended on by 4.5K crates — strongest ecosystem trust.