Pay attention to zeros. If there is a zero, someone will divide by it.
—Dr. Cem Kaner
Introduction
In the previous chapter, we have learned how to set up our infrastructure for testing. It seems we are ready to write. But, even when your code is excellent, with pure functions and dependency injection, we need to learn the basics of how to write proper tests that we can maintain over time.
What exactly are unit tests
What are the XCTest framework and XCTestCase class
How to configure your target and your test bundle to work together
About the XCTestCase life cycle and how it ...