Building Unit Tests for ViewModel in TDD style

Your view model class usually has several functionalities. It somehow fetches data, it optionally maps your data entities to displayable entities, handles clicks and performs action for given events. You want to be sure that after refactor your code will still work perfectly. To achieve that you need to write and maintain unit tests. I …

Building Unit Tests for ViewModel in TDD style Read More »