Files
reverse-engineering-anything/stryker.semantics.config.mjs
T
morluto 5044e20171 test: focus diagnostics and evidence checks on behavior (#9303)
* test: focus configuration diagnostics on their owners

Preserve shape errors, selected paths, recovery guidance, and unchanged-file behavior across parser, setup, and uninstall boundaries.

* test: focus artifact and evidence checks on behavior

Retain format, identity, malformed-input, and cleanup coverage while removing fixed prose and closing the admitted test source.

* refactor(debugger): use configured session admission limits

* test: focus evidence and diagnostics on behavior

* fix(test): restore verifier export and formatting

* test(config): verify debugger limit ranges

* test(rizin): keep fixture executable authoritative

* test(rizin): isolate debugger fixture environment
2026-11-08 16:39:20 +00:00

55 lines
1.5 KiB
JavaScript

import { mutationRanges } from "./scripts/lib/reverse-tools-mutation-targets.mjs";
const config = {
$schema: "./node_modules/@stryker-mutator/core/schema/stryker-schema.json",
testRunner: "command",
commandRunner: {
command: "npx vitest run --config vitest.reverse-tools-semantics.config.ts",
},
plugins: ["@stryker-mutator/typescript-checker"],
checkers: ["typescript"],
tsconfigFile: "tsconfig.reverse-tools-mutation.json",
typescriptChecker: {
prioritizePerformanceOverAccuracy: true,
},
coverageAnalysis: "off",
thresholds: { break: null },
ignorePatterns: ["/.cache/rea-command-locks/**", "/coverage/**"],
concurrency: 2,
timeoutMS: 30000,
reporters: ["clear-text", "progress", "html", "json"],
jsonReporter: { fileName: "reports/mutation/reverse-tools-semantics.json" },
htmlReporter: { fileName: "reports/mutation/reverse-tools-semantics.html" },
};
export default {
...config,
mutate: [
...mutationRanges("src/cutter/CutterBridgeClient.ts", [
{
kind: "expression",
text: "status.data.current_file === undefined",
},
{
kind: "expression",
text: "response.current_file === undefined",
},
]),
...mutationRanges("src/rizin/RizinDebugSessionManager.ts", [
{
kind: "expression",
text: "remaining <= 0",
},
{
kind: "declaration",
name: "snapshot",
withinBlockWithBinding: "output",
},
{
kind: "declaration",
name: "createRizinCommandTimeoutEvidence",
},
]),
],
};