Expand description
Test optimization and selection tooling for ggen
This crate provides test value scoring, 80/20 Pareto selection, parallel execution, and budget enforcement for the ggen test suite. Part of Feature 004: Test Quality Audit and Performance Optimization.
§Overview
- Test value scoring algorithm (failure frequency + coverage + speed + criticality)
- 80/20 Pareto selection (1,178 tests → 200 high-value tests)
- Parallel execution with rayon and cargo-nextest
- Performance budget enforcement (unit: ≤1s, integration: ≤10s)
§Usage
use ggen_test_opt::OptResult;
// Coming soon: Actual implementationRe-exports§
pub use metadata_collector::MetadataCollector;pub use metadata_collector::TestMetadata;pub use pareto_selector::ParetoSelectionResult;pub use pareto_selector::ParetoSelector;pub use test_value_scorer::TestValueScorer;pub use types::*;
Modules§
- metadata_
collector - Test metadata collection for intelligent selection
- pareto_
selector - 80/20 Pareto test selection implementation
- test_
value_ scorer - Test value scoring algorithm implementation
- types
- Core data types for test optimization