/Swift-TDD

Test Driven Development in Swift with KIF

Primary LanguageSwift

Swift-TDD

An attemp to do some test driven development (TDD) in Swift with KIF

Requirements

~/Swift-TDD $ sudo gem install cocoapods
~/Swift-TDD $ pod install

Note

Xcode-beta3 and CocoaPods don't work with "Defines Module" turned on for Nimble

Solved by doing the following:

  1. vi /[Long-path-goes-here]/all-product-headers.yaml
  2. Replace the contents with the code below.
{
  'version': 0,
  'case-sensitive': 'false',
  'roots': []
}
  1. chmod 444 /[Long-path-goes-here]/all-product-headers.yaml
  2. Xcode will complain about write-file but your tests will run