A file outside the project root is not source. That branch returned
false with no test, so the mutant was uncovered. check=False now sits
on the git call coverage records, and a failing git is still reported
as GitStatusError.
Proved by test_a_file_outside_the_project_root_is_not_source. mutator
on cli.py killed 64 of 64, with nothing survived and nothing uncovered.
Co-authored-by: Robert C. Martin <[email protected]>
The scan already reports Swift pairs in the text report and in
.metrics/dry.edn. The help text, the language table, and the project
description still listed the previous six languages.
Proved: test_help_does_not_scan failed until the help named
Swift (.swift) and *Tests.swift, then passed. test_swift_report_writes_the_same_snapshot
checks the text lines and :language \"swift\" in dry.edn. The shared
language tests now include Swift. 92 tests passed.
Co-authored-by: Robert C. Martin <[email protected]>
The switches stay intact. The new tests pin option parsing, file selection, normalization, and which forms each language compares, so the survivors that remain are equivalent mutants.