-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running from CLI? #2
Comments
@hankturowski How have you been running the test suites? |
Thus far I've only run the tests using the Xcode6 GUI. |
I too have been building an Xcode6 project and coding and test from the GUI. I liked the test runner created for objective-C in Ruby by burtlo. Seems like Xcode6 is even more CLI friendly. I'll look into seeing if I can create a CLI test runner for Swift. |
Any progress on this @ahalls? I've been looking into running XCTests from the CLI, but I haven't made much progress. |
Swift 2.0 was just announced at WWDC and Xcode 7 is around the corner. We should probably put this on hold until they go gold. Additionally, Swift will be open source with a Linux port at some point in the not too distant future. I assume that that will mean that command line testing will be much easier. |
Im going to close this for now. We can revisit this when swift is stable in Linux. |
In swift 2.2 we now have the option to use the pure swift implementation of swift. https://github.com/apple/swift-corelibs-xctest Some limitations: https://github.com/apple/swift-corelibs-xctest#additional-considerations-for-swift-on-linux We need to manual add all the test to We can handle this with a script Then all we would need to do is to call this with all the Test classes. ``XCTMain([BobTest(), Problem3Test(), ETCTest()])` Live example with 2.2: |
we now support linux. There is updated documentation to run from the command line. |
So how do you run these from the CLI?
The text was updated successfully, but these errors were encountered: