Decision Workspace
wraptest vs test-context vs test-env-helpers
Side-by-side comparison of Rust crates
39
wraptest
growingv0.2.1
A simple way to run code before and after every unit test
56
test-context
growingv0.5.8
A library for providing custom setup/teardown for Rust tests without needing a test harness
44
test-env-helpers
growingv0.2.2
Jest style setup and teardown test helper macros
Core Metrics
| wraptest | test-context | test-env-helpers | |
|---|---|---|---|
| Health Score | 39 | 56 | 44 |
| Total Downloads | 140.4K | 8.6M | 300.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 1.2K | 24 |
| Releases | 3 | 20 | 4 |
| Last Updated | 2000d ago | 168d ago | 1663d ago |
| Age | 5y 6m | 5y 8m | 4y 7m |
Health Breakdown
wraptest
Maintenance
4
Quality
14
Community
6
Popularity
6
Documentation
9
test-context
Maintenance
11
Quality
10
Community
15
Popularity
8
Documentation
12
test-env-helpers
Maintenance
3
Quality
14
Community
7
Popularity
7
Documentation
13
Technical Details
| wraptest | test-context | test-env-helpers | |
|---|---|---|---|
| Version | 0.2.1 | 0.5.8 | 0.2.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 7 | 4 | 5 |
| Crate Size | 4KB | 9KB | 7KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 15.0% | 0.0% |
| Edition | 2018 | 2024 | 2021 |
| MSRV | — | 1.91.0 | — |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •test-context leads with a health score of 56/100, but none of the options score above 80.
- •test-context is depended on by 1.2K crates — strongest ecosystem trust.
- •⚠ wraptest, test-env-helpers have not been updated in over a year.