Last updated: 8 months ago
Having a reliable and durable iOS app or framework depends on many things, but no one can deny the necessity of unit testing and UI testing for this purpose. The question comes up here is that are all codes tastable? No unfortunately!
In this talk we are going to review some examples of improper codes for testing and try to suggest some ways to solve the issue by applying various software techniques. We're going to explore an example to apply different ways of dependency injection and then compare the pros and cons of each method. In addition, we will review end-to-end testing, mocking with subclasses and mocking with protocols to point out to different approaches for testing.