Make mutations patch-based
This commit is contained in:
parent
10ddbef963
commit
2dc2c288fb
3 changed files with 21 additions and 20 deletions
|
|
@ -4,7 +4,7 @@ open System.Reflection
|
|||
open System.Runtime.InteropServices
|
||||
open Fli
|
||||
|
||||
type MutationCase = { TestName: string; Id: string }
|
||||
type MutationCase = { TestName: string; Patch: string }
|
||||
|
||||
let ensureBuilt projectPath =
|
||||
cli {
|
||||
|
|
@ -60,7 +60,7 @@ let getMutationCases projectPath =
|
|||
| "Mutannot.MutationCaseAttribute" ->
|
||||
Some
|
||||
{ TestName = $"{m.DeclaringType.FullName}.{m.Name}"
|
||||
Id = attr.ConstructorArguments[0].Value :?> string }
|
||||
Patch = attr.ConstructorArguments[0].Value :?> string }
|
||||
| _ -> None))
|
||||
|> Seq.toList
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue