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

10. Implement Tests in Our Daily Work Routine

Avi Tsadok1 
(1)
Tel Mond, Israel
 

No amount of testing can prove a software right, a single test can prove a software wrong.

—Amir Ghahrai

Introduction

We discussed many types of tests – unit, integration, performance, UI, and snapshot tests. But if you ask me what the most challenging task in writing tests is, I would say actually writing them.

Being a developer is not easy. Our daily schedule is full of stress – deadlines, bugs, documentation to read, meetings, and some of us have an angry boss who sits on our head. Eventually, we are full of excuses for why we don’t have time right now for tests.

Writing the right tests, ...

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.