Document Swift mutation, discovery, and the Mac test commands.

The README and --help now name Swift with the other languages, list the
operators (including which edits are not made), and say how Tests,
*Tests.swift, .build, .swiftpm, and DerivedData are skipped. They also
give swift test, xcodebuild test, --xcode-scheme, and --xcode-destination,
and say an iOS run needs a Mac with Xcode.

Proved by the help test, which checks that --help names swift test,
xcodebuild, and *Tests.swift.

Co-authored-by: Robert C. Martin <[email protected]>
This commit is contained in:
Cursor Agent
2026-11-26 00:01:19 +00:00
co-authored by Robert C. Martin
parent 3f6dc5bb7c
commit 883a611b68
4 changed files with 19 additions and 6 deletions
+1
View File
@@ -175,6 +175,7 @@ def test_xcode_options_require_a_value():
assert "--xcode-destination" in help_text
assert "swift test" in help_text
assert "xcodebuild" in help_text
assert "*Tests.swift" in help_text
assert parse_args(["--xcode-scheme"]).exit_code == 1