Swift's implementation of unit testing uses the XCTest library. Swift does not use OCUnit for any unit testing. XCTest is easy to set up and works within Xcode, on the command line in OSX, or on the open source Linux version of Swift.
KeywordsTest Suite Unit Testing Model Code Error Message Application Code
© Godfrey Nolan 2017