Decision Workspace
random-dir vs testdir vs dir-test
Side-by-side comparison of Rust crates
53
random-dir
growingv0.3.2
Create directories and files with random contents in tests.
58
testdir
growingv0.10.0
Semi-persistent, scoped test directories
49
dir-test
growingv0.4.1
Provides a macro to generate tests from files in a directory
Core Metrics
| random-dir | testdir | dir-test | |
|---|---|---|---|
| Health Score | 53 | 58 | 49 |
| Total Downloads | 4.1K | 515.1K | 1.2M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 35 | 521 | 145 |
| Releases | 5 | 19 | 7 |
| Last Updated | 68d ago | 202d ago | 674d ago |
| Age | 1y 10m | 5y 10m | 3y 8m |
Health Breakdown
random-dir
Maintenance
12
Quality
14
Community
10
Popularity
4
Documentation
13
testdir
Maintenance
10
Quality
13
Community
13
Popularity
7
Documentation
15
dir-test
Maintenance
5
Quality
15
Community
12
Popularity
7
Documentation
10
Technical Details
| random-dir | testdir | dir-test | |
|---|---|---|---|
| Version | 0.3.2 | 0.10.0 | 0.4.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 6 | 9 | 2 |
| Crate Size | 8KB | 27KB | 7KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.88 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •testdir leads with a health score of 58/100, but none of the options score above 80.
- •dir-test has the most downloads (1.2M), suggesting wider adoption.
- •testdir is depended on by 521 crates — strongest ecosystem trust.
- •⚠ dir-test has not been updated in over a year.