Skip to content

fix(vitest-runner): match Vitest 5 full test names - #6220

Open
seandearnaley wants to merge 1 commit into
stryker-mutator:masterfrom
seandearnaley:codex/vitest-5-name-filter
Open

fix(vitest-runner): match Vitest 5 full test names#6220
seandearnaley wants to merge 1 commit into
stryker-mutator:masterfrom
seandearnaley:codex/vitest-5-name-filter

Conversation

@seandearnaley

@seandearnaley seandearnaley commented Sep 9, 2026

Copy link
Copy Markdown

Vitest 5 matches full test names with > between suites and tests. The runner constructed both reported test IDs and sandbox coverage IDs using spaces, so a successful dry run was followed by filtered mutant runs that executed no covered tests. Supply one version-aware separator to both paths while preserving older Vitest behavior.

Adds an integration test that round-trips a dry-run test ID into a killing mutant run, plus an automatically discovered Vitest 5 E2E fixture covering nested suites and regex punctuation. The fixture checks killed mutants and the corresponding reported test IDs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant