Add a multi-language mutation tester that writes .metrics/mutate for uml-viewer.

This commit is contained in:
Robert C. Martin
2026-09-30 10:40:54 -05:00
commit bf42bd22e7
24 changed files with 3201 additions and 0 deletions
Executable
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
# Run the mutation tool, creating a local virtualenv on first use.
ROOT=$(CDPATH= cd -- "$(dirname "$0")" && pwd)
PY="$ROOT/.venv/bin/python"
if [ ! -x "$PY" ]; then
python3 -m venv "$ROOT/.venv"
"$ROOT/.venv/bin/pip" install -e "$ROOT"
fi
exec "$PY" -m mutator "$@"