How to refactor your Swift code using TDD

Are you sold on the benefits of unit testing and TDD but stuck trying to introduce it into your code base? With today’s video, you’ll learn how to use TDD to reduce duplication and refactor a class to make it easier to maintain. You’ll notice that TDD helps to evolve the design of the code and improve the overall structure, making it easier to maintain in the future. And unit tests that run frequently also give us confidence that the code will continue to do as we expect.

Sorry, this video is only available now in The Expanded Edition of Unit Testing in Swift.

How should you start unit testing your app?

Unit testing for iOS can be lonely — most iOS developers don't seem to be doing it. Should you be writing unit tests? What are the benefits of unit testing, anyway? And if it is worth the effort, how do you get started? Enter your name and email in the boxes to get answers to your questions.

We won't send you spam. Unsubscribe at any time. Powered by ConvertKit