To run one test you can use: swift test -s BasicTests.PathTests/testContains
See: swift test --help - Daniel > On May 19, 2017, at 4:34 PM, Kelvin Ma via swift-users > <[email protected]> wrote: > > i want to be able to run a single test case at a time instead of my whole > test suite and i’m currently invoking the test binary directly after doing > `swift test` > > On May 19, 2017, at 4:56 PM, Brent Royal-Gordon <[email protected]> > wrote: > >>> On May 18, 2017, at 8:16 AM, Kelvin Ma via swift-users >>> <[email protected]> wrote: >>> >>> Is there a way I can pass command line arguments along to the testing >>> program with `swift test` so that they are visible in >>> `CommandLine.arguments`? >> >> No. If there were one, you would not be able to reliably invoke the tests >> automatically. >> >> What are you trying to do? Test code that uses `CommandLine.arguments`? >> >> -- >> Brent Royal-Gordon >> Architechies >> > _______________________________________________ > swift-users mailing list > [email protected] > https://lists.swift.org/mailman/listinfo/swift-users _______________________________________________ swift-users mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-users
