Be more exact with what test to run

This commit is contained in:
Sven van Heugten 2026-04-28 07:40:14 +02:00
parent 75097afe1f
commit c3bd4e1f55
No known key found for this signature in database
GPG key ID: D612F88666F4F660

View file

@ -272,7 +272,11 @@ let createWorktree () =
for relativePath in untrackedFiles do for relativePath in untrackedFiles do
copyFileIntoWorktree relativePath copyFileIntoWorktree relativePath
let testFilter mutation = $"FullyQualifiedName~{mutation.TestName}" let fullyQualifiedTestName mutation =
let declaringType = mutation.DeclaringType.Replace('+', '.')
$"{declaringType}.{mutation.TestName}"
let testFilter mutation = $"FullyQualifiedName={fullyQualifiedTestName mutation}"
let runMutation (mutation: MutationCase) = let runMutation (mutation: MutationCase) =
let targetFile = Path.Combine(worktreePath, mutation.File.Replace('/', Path.DirectorySeparatorChar)) let targetFile = Path.Combine(worktreePath, mutation.File.Replace('/', Path.DirectorySeparatorChar))