File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -420,6 +420,11 @@ public class SwiftTestTool: SwiftTool<TestToolOptions> {
420420 " <test-target>.<test-case>/<test> " ) ,
421421 to: { $0. _testCaseSpecifier = . regex( $1) } )
422422
423+ binder. bind (
424+ option: parser. add ( option: " --skip " , kind: String . self,
425+ usage: " Skip test cases that match a colon-separated list of regular expressions, Example: --skip Performance:Scrypt " ) ,
426+ to: { $0. _testCaseSpecifier = . skip( $1. split ( separator: " : " , omittingEmptySubsequences: true ) . map ( String . init) ) } )
427+
423428 binder. bind (
424429 option: parser. add ( option: " --enable-code-coverage " , kind: Bool . self,
425430 usage: " Test with code coverage enabled " ) ,
@@ -1086,6 +1091,6 @@ final class XUnitGenerator {
10861091
10871092private extension Diagnostic . Message {
10881093 static var noMatchingTests : Diagnostic . Message {
1089- . warning( " '--filter' predicate did not match any test case " )
1094+ . warning( " No matching test cases were run " )
10901095 }
10911096}
You can’t perform that action at this time.
0 commit comments