The Unit Testing Diet App

Pricing type: Free
Learn to effectively unit test an MVVM app at scale
See the website


How do you unit test an MVVM app at scale without slowing your ability to refactor? The Unit Testing Diet App is a sample Android chat application demonstrating how to follow Behavior-Driven Development (BDD), by writing unit tests that test the behavior and not the implementation. Unit Testing Diet provides a healthy way to test and refactor an app at scale, by testing the behavior on the ViewModel layer and not the internal implementation, using the real objects for the inner layers and not mocks. The tests are written in the Given-When-Then style and they cover the ViewModel, UseCase, and Repository layers, without using mocks. For a comprehensive guide on how to follow this methodology, please refer to the 'Unit Testing Diet' blog post ->

Related tools (Automated Checking)

Free, simple to use online Gherkin editor

Simple and effective mobile UI testing framework.


A mutation testing tool for Python 3.3+ source code

Test your tests with mutation testing.