How rwilliamspbg-ops/rustforge works
RustForge is a modular Rust test-suite template: adopters select category crates and use their helpers and harnesses to exercise a project, from syntax and semantic checks through robustness, integration, fuzzing, and performance checks. The principal workflow is selecting a category, supplying cases or inputs, and running the corresponding checks; core-tests provides reusable fixtures and fixed-input differential assertions. The graph reflects README-described capabilities where implementation excerpts were unavailable. In particular, integration-test calls into other categories are documented but not shown in the sampled source, so that relationship is marked unverified.
Main entry points: src Cross-category tests · src/lib.rs Fuzz entry points · src/lib.rs Fixtures and helpers · src/lib.rs Syntax checks
Components 14
Shared test helpers
- Fixtures and helpers
crates/core-tests/src/lib.rs - Fixed-input differential
crates/core-tests/src/differential.rs - No-std helpers
crates/core-tests/src/no_std_support.rs
Correctness checks
- Syntax checks
crates/syntax-tests/src/lib.rs - Ownership semantics
crates/semantic-tests/src/lib.rs - Cross-category tests
crates/integration-tests/src
Robustness testing
- Boundary checks
crates/edge-cases/src/lib.rs - Fuzz entry points
crates/fuzz-tests/src/lib.rs - Generated differential
crates/fuzz-tests/src/differential.rs - LibFuzzer targets
fuzz/fuzz_targets
Test harnesses
- Performance checks
crates/performance-tests/src/lib.rs - Criterion benchmarks
crates/performance-tests/benches - Compile and snapshots
crates/syntax-tests
Other components
- Suite adopter
Connections 17
- Suite adopter → Fixtures and helpers: uses helpers
README.md - Suite adopter → Syntax checks: selects checks
README.md - Suite adopter → Ownership semantics: selects checks
README.md - Suite adopter → Cross-category tests: selects checks
README.md - Suite adopter → Boundary checks: opts into
README.md - Suite adopter → Fuzz entry points: opts into
README.md - Suite adopter → Performance checks: opts into
README.md - Fixtures and helpers → Fixed-input differential: exposes module
crates/core-tests/src/lib.rs - Fixtures and helpers → No-std helpers: feature-gates
crates/core-tests/src/lib.rs - Syntax checks → Compile and snapshots: supports
README.md - Cross-category tests → Syntax checks: covers across categories
- Cross-category tests → Ownership semantics: covers across categories
- Cross-category tests → Boundary checks: covers across categories
- Fuzz entry points → Generated differential: feature-gates
crates/fuzz-tests/src/lib.rs - LibFuzzer targets → Fuzz entry points: calls parser
fuzz/fuzz_targets/parse_u32_lenient.rs - LibFuzzer targets → Fuzz entry points: tests UTF-8
- Performance checks → Criterion benchmarks: benchmarks operations
README.md