To mock or not to mock

You can’t talk about unit testing and TDD without mentioning mocks. But what are mocks, really? In talking to other iOS developers, I frequently see comments such as: I used to go crazy and write test for every IBOutlet. I would mock every UILabel to verify that they get the correct text based on my […]

Continue reading →