mirror of
https://github.com/unclebob/mutator.git
synced 2026-11-26 18:58:50 +00:00
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:
co-authored by
Robert C. Martin
parent
3f6dc5bb7c
commit
883a611b68
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user