Decision Workspace
unit-testing vs test-case vs ntest
Side-by-side comparison of Rust crates
40
unit-testing
growingv3.1.0
A unit testing library
66
test-case
growingv3.3.1
Provides #[test_case(...)] procedural macro attribute for generating parametrized test cases easily
63
ntest
growingv0.9.5
Testing framework for rust which enhances the built-in library with some useful features.
Core Metrics
| unit-testing | test-case | ntest | |
|---|---|---|---|
| Health Score | 40 | 66 | 63 |
| Total Downloads | 46.1K | 42.7M | 8.0M |
| 30d Downloads | 33 | 3.8M | 323.2K |
| Dependents | 0 | 16.8K | 2.3K |
| Releases | 39 | 29 | 37 |
| Last Updated | 634d ago | 861d ago | 100d ago |
| Age | 3y 1m | 6y 6m | 6y 7m |
Health Breakdown
unit-testing
Maintenance
7
Quality
11
Community
5
Popularity
6
Documentation
11
test-case
Maintenance
6
Quality
20
Community
17
Popularity
8
Documentation
15
ntest
Maintenance
13
Quality
15
Community
15
Popularity
8
Documentation
12
Technical Details
| unit-testing | test-case | ntest | |
|---|---|---|---|
| Version | 3.1.0 | 3.3.1 | 0.9.5 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | non-standard | MIT | MIT |
| Dependencies | 4 | 5 | 3 |
| Crate Size | 631KB | 9KB | 6KB |
| Features | 0 | 1 | 0 |
| Yanked % | 64.1% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | 1.63 | — |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •test-case leads with a health score of 66/100, but none of the options score above 80.
- •test-case is depended on by 16.8K crates — strongest ecosystem trust.
- •⚠ unit-testing, test-case have not been updated in over a year.
- •ntest is pre-1.0 — API may change.