A Swift-y Approach to Dependency Injection

June 11, 2016

While I would guess that fewer iOS developers are concerned with Dependency Injection than say, Java developers, the concept has gained more steam on the platform as the practice of unit and integration testing has increased.

In short, Dependency Injection (or DI) consists of:

  1. Making your structs or classes depend on . . .

Read More

Code Coverage is a Terrible Metric

June 01, 2015

One of the areas I’m focusing on right now is the subject of testing. Automated testing in general, and at the moment, unit testing specifically. And one observation keeps jumping out at me:

Code coverage is a terrible metric

What is code coverage? Briefly, it’s the number or percentage of the lines of code in your . . .

Read More

Archive
   Subscribe by email and never miss a post.