Decision Workspace
expectest vs behave vs test-case
Side-by-side comparison of Rust crates
52
expectest
growingv0.12.0
Crate provides matchers and matcher functions for unit testing.
52
behave
experimentalv0.9.2
BDD testing framework with expressive expect! matchers and a zero-keyword DSL.
66
test-case
growingv3.3.1
Provides #[test_case(...)] procedural macro attribute for generating parametrized test cases easily
Core Metrics
| expectest | behave | test-case | |
|---|---|---|---|
| Health Score | 52 | 52 | 66 |
| Total Downloads | 397.0K | 319 | 54.1M |
| 30d Downloads | 30.7K | 0 | 2.2M |
| Dependents | 899 | 3 | 18.9K |
| Releases | 29 | 5 | 29 |
| Last Updated | 2459d ago | 118d ago | 969d ago |
| Age | 11y 3m | 4m | 6y 9m |
Health Breakdown
expectest
Maintenance
4
Quality
16
Community
13
Popularity
7
Documentation
12
behave
Maintenance
13
Quality
14
Community
7
Popularity
3
Documentation
15
test-case
Maintenance
6
Quality
20
Community
17
Popularity
8
Documentation
15
Technical Details
| expectest | behave | test-case | |
|---|---|---|---|
| Version | 0.12.0 | 0.9.2 | 3.3.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | Apache-2.0 | MIT |
| Dependencies | 1 | 13 | 5 |
| Crate Size | 15KB | 168KB | 9KB |
| Features | 1 | 9 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.75 | 1.63 |
| Owners | 1 | 1 | 2 |
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 18.9K crates — strongest ecosystem trust.
- •⚠ expectest, test-case have not been updated in over a year.
- •expectest, behave are pre-1.0 — API may change.