Is it possible to run Swift testcases from command line without an Xcode project? <p>I have made some extensions for Array &amp; String class in Array.swift and String.swift files; I have also added unit test for them, in ArrayTest.swift and StringTest.swift, respectively. Now I would like to run these unit tests from command line <strong>without an Xcode project file</strong>. </p> <p>After reading <a href="http://stackoverflow.com/questions/24248439/how-can-i-run-xctest-for-a-swift-application-from-the-command-line">How can I run XCTest for a swift application from the command line?</a> I have came up with something like this:</p> <pre><code>xcrun -sdk macosx swiftc -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks \ -Xlinker -rpath \ -Xlinker /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks \ -lswiftCore Array.swift \ -module-name array_extension </code></pre> <p>... which seems to compiling the array extensions into a module. But how can I compile / link the <code>ArrayTest.swift</code> file against this module?</p>