Test, test, test!
As much as it may sound like a WHO recommendation in the middle of a COVID19 pandemic, it’s not. It’s the general recommendation for any software developer who values great code quality and peace of mind while developing.
In the following series I will cover everything from why you should thoroughly test your Swift code to how to implement advanced mocking of internal classes in Swift.
The series contains the following articles:
- Introduction (you’re reading it)
- Part 1: The Fundamentals
- Part 2: Asynchronous Expectations
- Part 3: Proper Architecture
- Part 4: Mocking
- Part 5: Behavioural Assertion
With the table of contents done and dusted, let’s get on with it!
“…But why test a mobile app project?”
Every now and then I bump into developers asking me why there is a need for unit testing mobile application projects; after-all most of the code is UI-related anyway. This question is part of my motivation for writing this article, as I strongly believe that every software developer should be writing unit tests — even in solo projects. The answer to the…