Creating Higher Level Assertions

Episode #338 | 10 minutes | published on May 3, 2018 | Uses swift-4.1, Xcode-9.3
Subscribers Only
XCTAssertion functions are a foundational part of your test suite but sometimes can be too low-level. You want to know exactly why a test failed, not that "2 was not less than 1." By extracting helper methods to do assertions for you, you can give groups of assertions meaning, and make it easier to reason about your tests and why they might be failing.

Nothing yet...

blog comments powered by Disqus