Make mutations patch-based

This commit is contained in:
Sven van Heugten 2026-05-12 08:07:43 +02:00
parent 10ddbef963
commit 2dc2c288fb
No known key found for this signature in database
GPG key ID: D612F88666F4F660
3 changed files with 21 additions and 20 deletions

View file

@ -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