© Avi Tsadok 2020
A. TsadokPro iOS Testinghttps://doi.org/10.1007/978-1-4842-6382-2_5

5. Integration Tests

Avi Tsadok1 
(1)
Tel Mond, Israel
 

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.

—Brian W. Kernighan

Introduction

In the previous chapters, we learned how to test a specific unit. We discussed how to isolate it from the rest of the app and focus on its specific implementation.

However, our project is not just a bunch of functions needed to be tested. It’s a whole system designed to work together.

In this chapter, you will learn
  • Why it’s essential to add Integration tests to your project

  • What is the cost of Integration ...

Get Pro iOS Testing: XCTest Framework for UI and Unit Testing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.