Decision Workspace
test-harness vs libtest-mimic vs assert-struct
Side-by-side comparison of Rust crates
50
test-harness
growingv0.3.1
a little test macro to wrap your tests with an arbitrary setup/teardown function
66
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
growingv0.5.0
A procedural macro for ergonomic structural assertions in tests
Core Metrics
| test-harness | libtest-mimic | assert-struct | |
|---|---|---|---|
| Health Score | 50 | 66 | 63 |
| Total Downloads | 428.4K | 32.4M | 32.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 201 | 6.0K | 51 |
| Releases | 5 | 17 | 8 |
| Last Updated | 507d ago | 207d ago | 56d ago |
| Age | 3y 6m | 8y 2m | 1y 1m |
Health Breakdown
test-harness
Maintenance
8
Quality
14
Community
11
Popularity
7
Documentation
10
libtest-mimic
Maintenance
9
Quality
14
Community
20
Popularity
8
Documentation
15
assert-struct
Maintenance
16
Quality
16
Community
11
Popularity
5
Documentation
15
Technical Details
| test-harness | libtest-mimic | assert-struct | |
|---|---|---|---|
| Version | 0.3.1 | 0.8.2 | 0.5.0 |
| 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 | 28KB |
| 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 66/100, but none of the options score above 80.
- •libtest-mimic is depended on by 6.0K crates — strongest ecosystem trust.
- •⚠ test-harness has not been updated in over a year.