Monthly Archives: March 2013

No image

iOS Unit Testing – Part 6 – Redesign for Testing

As of Part 5 of this tutorial we have basic unit tests in place, but our original code is too monolithic to be able to easily test. Thus, we’re now going to restructure the SBAnimationManager class to make it more testable and flexible. The source code for this tutorial may be found on GitHub. This […]

Read More
No image

iOS Unit Testing – Part 5 – Testing Animations

As of Part 4 of this tutorial, we have tested our view controller, and added support for measuring unit test code coverage to our project. At this point, we’re going to test the SBAnimationManager class that is driving the on-screen animations.

Read More
No image

iOS Unit Testing – Part 4 – Code Coverage

In Part 3 of this tutorial, we began adding unit tests to our project. So now we know that at least some of our project has been tested. But how much? In order to answer that question, we’re going to add some code coverage measurement to the project. The source code for this tutorial may […]

Read More