To be sure new code won’t break old one already implemented, itโ€™s best practice to write unit tests. When it comes to app architectures, it can be a challenge to write those tests. Following an MVVM pattern, how to unit test a view and its viewModel? Thatโ€™s what I would like to cover here using dependency injection.

Continue reading

Author's picture

Benoit Pasquier

iOS Software engineer ๐Ÿ‡ซ๐Ÿ‡ท, writing about Swift, Data and more.

ShopBack ๐Ÿ’ฐ

Singapore ๐Ÿ‡ธ๐Ÿ‡ฌ