Hitting the target with TestHelpers #modularisation #xcode #testing Modules are super useful for splitting our projects into smaller, more manageable parts. But they could be doing more. Here, we look at how a utility module can ease the burden not only for production targets but also for test targets. 15 Jul 2025 • 6 min read
Can Unit Testing and Core Data become BFFs? #core data #testing #persistence Core Data and Unit Testing haven't always been the best of friends ⚔️. Core Data is all about persisting. Unit testing is all about forgetting. Here, we look at how they can work together with the help of UIKit to ensure that we gain the confidence we need to ship an app. 02 Apr 2018 • 16 min read
Firefighting developers #testing #teamwork An uncomfortable truth is that praising firefighting developers might just be leading to more fires. Here, we look at why needing firefighting developers is a sign that your processes need to be improved, as avoiding fires is better than managing fires. 21 Apr 2017 • 4 min read
Making a request with a side of testing #testing #networking We want to test that our network stacks can make network requests as intended but without actually making those requests. Here, we look at how to split our networking stack into components to allow easy unit testing. 27 Sep 2016 • 9 min read
Runnable test schemes for Travis CI #ci #xcode #testing No one said running your unit tests on Travis CI would be easy. Who knew running tests via the Xcode UI wasn't the same as running those tests via the terminal 🤷♂️? Here, we look at how to prepare your test targets for running on Travis CI. 27 Feb 2016 • 1 min read
Invest in Dumb view controllers for the sake of your unit tests #testing When extracting functionality, we are often trading local complexity for communication complexity. A useful mental framework for knowing if that exraction is worthwhile is Single Responsibility Principle (SRP). Here, we look at how to extract functionality from a view controller using SRP. 05 Jan 2013 • 3 min read
Depend on nothing for your unit tests #testing Dependency injection is one of the superpowers that developers can utilise to produce code that is more predictable and easier to test. Here, we look at dependency injection - what it is and how we can utilise it. 17 Dec 2012 • 4 min read
Black and white box unit testing techniques #testing What is blackbox testing? What is whitebox testing? Here, we look at both techniques and how they can be utilised to ensure that the tests we write thoroughly test our production code. 09 Aug 2012 • 4 min read
The benefits of unit testing #testing You are a great developer, so why go through the hassle of writing unit tests? Here, we look at the reasons beyond writing unit tests and why great developers write them. 16 Jun 2012 • 5 min read
A walkthrough of testing a class #testing What to test? How to test? Are two questions that every developer new to unit testing faces. Here, we look at how to answer those questions by walking through the process of testing a class. 01 Jun 2012 • 5 min read
Test only what you need to work #testing Everywhere you look, you are being told to write automated tests, but what even are automated tests? Here, we look at what testing is, why you need automated tests, who should write them and when to write them. 18 May 2012 • 12 min read
Hide behind your interface #testing Oversharing is bad. Social media taught us this. But so did `101 Introduction to Object Oriented Programming`. Here, we look at how to avoid oversharing by respecting encapsulation. 06 Jan 2012 • 3 min read
Defending your Datamodel classes #testing Strong encapsulation is the cornerstone of good design. Here, we look at how to protect against outside change 28 Nov 2010 • 1 min read
BVA and EP partnership #testing Boundary Value Analysis and Equivalence Partitioning are essential tools in any QA's toolbox when designing testcases. Here, we look at what they are and how to use. 30 Jan 2010 • 2 min read