test: RED acceptance tests for #58 (Phase 1 MVP)#113
Open
crashfrog wants to merge 2 commits into
Open
Conversation
Add comprehensive RED acceptance tests for Issue #58 validating Phase 1 MVP end-to-end for use cases 2, 3, 4 (case 1 deferred to Phase 2+). Tests validate external contracts only: CLI interfaces, file formats, error codes. All 28 tests are currently ignored and expected to fail (RED phase). Coverage includes: - .phrayaplan format (write/read round-trip, required fields) - Use case detection (cases 2, 3, 4: ReadsWithRef, ContigsWithReads, ContigsOnly) - Task list generation and structure - VariantObservation fields (CIGAR, edit_distance, local_coverage, all_alleles) - CoverageTrack quantization (to nearest 5) and RLE compression - Query index with multi-mapping (score_ratio >= 0.95) - Filter operations (min/max coverage, min/max mapq, composition) - CLI integration (filter VCF/TSV/phraya output, thresholds) - .phraya file format (observations + coverage track round-trip) - Error handling (missing files, corrupt files) - MVP end-to-end workflow (plan -> plan-tasks integration) Filter to run only these tests: cargo test --test issue_58_mvp_acceptance_tests -- --ignored Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test Coverage
Run Tests
cargo test --test issue_58_mvp_acceptance_tests -- --ignoredResolves #58
🤖 Generated with Claude Code