feat: integrate Stryker mutation testing with Vitest runner#57
Open
PAMulligan wants to merge 9 commits intomainfrom
Open
feat: integrate Stryker mutation testing with Vitest runner#57PAMulligan wants to merge 9 commits intomainfrom
PAMulligan wants to merge 9 commits intomainfrom
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Set +x bit for direct execution - Include score, threshold, and sourceFiles fields in all JSON outputs for consistent parsing by consumers Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
… to 30 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Guard --threshold flag against missing value (was crashing with unbound variable) - Replace grep -oP (Perl regex) with grep -oE for macOS portability - Correct script count to 29 (was incorrectly set to 30) - Update Last Updated date to 2026-04-14 - Add test for --threshold without value edge case Co-Authored-By: Claude Opus 4.6 (1M context) <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
@stryker-mutator/core,@stryker-mutator/vitest-runner, and@stryker-mutator/typescript-checkeras devDependenciesstryker.config.jsonwith Vitest runner, TypeScript checker, and React JSX mutation patterns (src/**/*.{ts,tsx}excluding tests, stories, type defs)scripts/run-mutation-tests.shwith--threshold,--json, and--helpflags — reads threshold frompipeline.config.json, gracefully skips when Stryker not installed or no source filesmutation-scoreinto quality gate subtasks inpipeline.config.jsonorchestration configtemplates/shared/stryker.config.jsonfor generated projectsTest plan
./scripts/run-mutation-tests.sh --helpexits 0 with usage text./scripts/run-mutation-tests.sh --bogusexits 1 with "Unknown flag"./scripts/run-mutation-tests.sh --jsonoutputs valid JSON with status, score, threshold, sourceFiles fields./scripts/run-mutation-tests.sh --threshold 90 --jsonrespects custom threshold./scripts/run-mutation-tests.sh --threshold(no value) exits 1 with clear error./scripts/run-mutation-tests.shshows "Mutation Testing" header and skips gracefully when no src/pnpm vitest run)pipeline.config.jsonis valid JSON after editCloses #11
🤖 Generated with Claude Code