Commits
Click on a commit to change the comparison rangerefactor(coverage): Migrate conformance runner to ETL architecture
This commit refactors the coverage conformance runner from a legacy Case/Suite
trait system to a clean ETL (Extract-Transform-Load) architecture.
## Architecture Changes
### New ETL Pipeline
- **Extract**: FileDiscovery with path caching for efficient test discovery
- **Transform**: MetadataParser trait for suite-specific metadata extraction
- **Load**: TestRunner trait with sync/async execution support
- **Validate**: ResultValidator trait for flexible result handling
### New Modules
- `pipeline.rs` - Unified test execution pipeline with rayon parallelization
- `registry.rs` - Declarative suite configuration (SuiteDefinition, SuiteConfig)
- `reporter.rs` - Coverage statistics and snapshot generation
- `tools/parser.rs` - ParserRunner implementation
### Tool Migrations
All tools migrated to TestRunner trait:
- ParserRunner, CodegenRunner, SemanticRunner
- FormatterRunner, TransformerRunner, MinifierRunner
- EstreeRunner (with async support), RuntimeRunner
- TranspileRunner (with custom TranspileValidator)
### Filter System
- PathBasedFilter for directory/path exclusions
- SkipFailingFilter wrapper for tools that skip negative tests
- Suite-specific filters (Test262Filter, BabelFilter, etc.)
- Tool-specific filters (MinifierTest262Filter, SemanticFilter)
### Removed Legacy Code
- Case trait and all implementations (Test262Case, BabelCase, etc.)
- Legacy Suite infrastructure
## Benefits
- Cleaner separation of concerns
- Better composability and testability
- Reduced code duplication across tools
- Type-safe error handling with ErrorKind enum
- Unified reporting and snapshot generation
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>