Be more exact with what test to run
This commit is contained in:
parent
75097afe1f
commit
c3bd4e1f55
1 changed files with 5 additions and 1 deletions
|
|
@ -272,7 +272,11 @@ let createWorktree () =
|
|||
for relativePath in untrackedFiles do
|
||||
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 targetFile = Path.Combine(worktreePath, mutation.File.Replace('/', Path.DirectorySeparatorChar))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue