From cd115ba7a20dd84e9a95539a37d0e47d74ac2164 Mon Sep 17 00:00:00 2001 From: "M.V. Hutz" Date: Thu, 19 Mar 2026 21:23:16 -0400 Subject: [PATCH] fix: mutation test threshold should be in config There isn't a `--threshold` flag for `go-gremlins`. --- .gremlins.yaml | 4 +++- Makefile | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gremlins.yaml b/.gremlins.yaml index 7a1872f..3c777aa 100644 --- a/.gremlins.yaml +++ b/.gremlins.yaml @@ -4,4 +4,6 @@ unleash: timeout-coefficient: 50 workers: 4 - dry-run: false \ No newline at end of file + dry-run: false + threshold: + efficacy: 100 \ No newline at end of file diff --git a/Makefile b/Makefile index 54c38ee..2ea9847 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ test-unit: ## Run unit tests with coverage go test ./... -cover -v test-mutation: ## Run mutation tests with gremlins - gremlins unleash --threshold 1.0 + gremlins unleash FUZZ_TIME ?= 30