Decision Workspace
random-dir vs testdir vs dir-test
Side-by-side comparison of Rust crates
47
random-dir
growingv0.2.4
Create directories and files with random contents in tests.
66
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 | 47 | 66 | 49 |
| Total Downloads | 3.3K | 333.0K | 648.8K |
| 30d Downloads | 112 | 16.6K | 105.1K |
| Dependents | 30 | 375 | 59 |
| Releases | 2 | 19 | 7 |
| Last Updated | 474d ago | 6d ago | 478d ago |
| Age | 1y 3m | 5y 3m | 3y 1m |
Health Breakdown
random-dir
Maintenance
6
Quality
14
Community
10
Popularity
4
Documentation
13
testdir
Maintenance
18
Quality
13
Community
13
Popularity
7
Documentation
15
dir-test
Maintenance
6
Quality
15
Community
11
Popularity
7
Documentation
10
Technical Details
| random-dir | testdir | dir-test | |
|---|---|---|---|
| Version | 0.2.4 | 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 | 6KB | 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 66/100, but none of the options score above 80.
- •dir-test has the most downloads (648.8K), suggesting wider adoption.
- •testdir is depended on by 375 crates — strongest ecosystem trust.
- •⚠ random-dir, dir-test have not been updated in over a year.