The Ultimate guide to iOS unit testing with best practices — Part 1

The Ultimate guide to iOS unit testing with best practices — Part 1

·

1 min read

Table of contents

No heading

No headings in the article.

What and Why of unit tests?

Let’s not waste time on what is a unit test and what are their benefits. I think you all know it but want to learn how to write those tests! In case you want to know more about unit tests, checkout this lovely article by X-team.

In this article, we will build a TODO app with a list screen that allows a user to add and display tasks.

  1. SwiftUI with UIPilot navigation
  2. MVVM architecture
  3. Swinject for dependency injection

We will have basic todo app ready at the end of this part.

For implementation or step by step guide, navigate to blog.canopas.com