Agile Swift pp 25-60 | Cite as

Swift Unit Testing

  • Godfrey Nolan


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.


Test Suite Unit Testing Model Code Error Message Application Code 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Godfrey Nolan 2017

Authors and Affiliations

  • Godfrey Nolan
    • 1
  1. 1.Huntington WoodsUSA

Personalised recommendations