3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-15 04:50:26 +01:00

Answer architecture round 1: 0 🔴, 2 🟡 (0 misread); a RuntimeError fails the run in a 6 GB container, Stryker bumps wait for a hand run, its package is a decision, item 76 names the test-file lists

This commit is contained in:
2026-10-28 20:08:48 +01:00
committed by Lillem4n
parent 061ae81644
commit 5aeb6b7190
9 changed files with 34 additions and 5 deletions
+9
View File
@@ -0,0 +1,9 @@
import { readFileSync } from 'node:fs'
import config from './stryker.config.mjs'
const mutants = Object.values(JSON.parse(readFileSync(config.jsonReporter.fileName, 'utf8')).files).flatMap((file) => file.mutants)
const errors = mutants.filter((mutant) => mutant.status === 'RuntimeError').length
if (errors > 0) {
console.error(`${errors} of ${mutants.length} mutants ended as RuntimeError, so each may hide a survivor`)
process.exit(1)
}