ggen_test_opt/
lib.rs

1//! Test optimization and selection tooling for ggen
2//!
3//! This crate provides test value scoring, 80/20 Pareto selection, parallel execution,
4//! and budget enforcement for the ggen test suite. Part of Feature 004: Test Quality Audit
5//! and Performance Optimization.
6//!
7//! # Overview
8//!
9//! - Test value scoring algorithm (failure frequency + coverage + speed + criticality)
10//! - 80/20 Pareto selection (1,178 tests → 200 high-value tests)
11//! - Parallel execution with rayon and cargo-nextest
12//! - Performance budget enforcement (unit: ≤1s, integration: ≤10s)
13//!
14//! # Usage
15//!
16//! ```rust,no_run
17//! use ggen_test_opt::OptResult;
18//!
19//! // Coming soon: Actual implementation
20//! ```
21
22#![deny(warnings)]
23#![deny(unsafe_code)]
24#![deny(clippy::unwrap_used)]
25#![deny(clippy::expect_used)]
26#![deny(clippy::panic)]
27
28// Core modules
29pub mod metadata_collector;
30pub mod pareto_selector;
31pub mod test_value_scorer;
32pub mod types;
33
34// Re-export main types and structs
35pub use metadata_collector::{MetadataCollector, TestMetadata};
36pub use pareto_selector::{ParetoSelectionResult, ParetoSelector};
37pub use test_value_scorer::TestValueScorer;
38pub use types::*;