Skip to content

Commit 68e618c

Browse files
committed
Command Line Interface
Detail the ability to specify specific tests to run.
1 parent ca7c2af commit 68e618c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

proposals/0008-package-manager-testing.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,21 @@ We expect that such an implementation would take the form of
181181
a Swift protocol that the package manager defines,
182182
which other testing frameworks can adopt.
183183

184+
185+
### Command Line Interface
186+
187+
The command line should accept the names of specific test cases to run:
188+
189+
swift build -t FooTestCase
190+
191+
Or specific tests:
192+
193+
swift build -t FooTestCase.test1
194+
195+
swiftpm would forward arguments to the underlying testing framework and it
196+
would decide how to interpret them.
197+
198+
184199
## Impact On Existing Code
185200

186201
Current releases of the package manager already exclude directories named

0 commit comments

Comments
 (0)