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

I’m a software engineer blogging about mobile development, UI/UX and self-improvement.

Senior Software Engineer ZALORA SEA

Singapore