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.
51
behave
experimentalv0.9.2
BDD testing framework with expressive expect! matchers and a zero-keyword DSL.
77
test-case
stablev3.4.0
Provides #[test_case(...)] procedural macro attribute for generating parametrized test cases easily
Core Metrics
| expectest | behave | test-case | |
|---|---|---|---|
| Health Score | 52 | 51 | 77 |
| Total Downloads | 419.8K | 4.6K | 66.8M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 943 | 3 | 21.3K |
| Releases | 29 | 5 | 30 |
| Last Updated | 2547d ago | 206d ago | 16d ago |
| Age | 11y 6m | 7m | 7y |
Health Breakdown
expectest
Maintenance
4
Quality
16
Community
13
Popularity
7
Documentation
12
behave
Maintenance
11
Quality
14
Community
7
Popularity
4
Documentation
15
test-case
Maintenance
17
Quality
20
Community
17
Popularity
8
Documentation
15
Technical Details
| expectest | behave | test-case | |
|---|---|---|---|
| Version | 0.12.0 | 0.9.2 | 3.4.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | Apache-2.0 | MIT |
| Dependencies | 1 | 13 | 5 |
| Crate Size | 15KB | 168KB | 14KB |
| Features | 1 | 9 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2024 |
| MSRV | — | 1.75 | 1.85 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •test-case leads with a health score of 77/100, but none of the options score above 80.
- •test-case is depended on by 21.3K crates — strongest ecosystem trust.
- •⚠ expectest has not been updated in over a year.
- •expectest, behave are pre-1.0 — API may change.