T

The Unit Testing Diet App

Learn to effectively unit test an MVVM app at scale

Pricing: Free
Visit website

What is The Unit Testing Diet App?

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 -> https://proandroiddev.com/the-unit-testing-diet-1607aac5f434

More tools in Automated Checking

Online Gherkin Editor logo

Online Gherkin Editor

Automated Checking

Free, simple to use online Gherkin editor

Free
Stryker Mutator logo

Stryker Mutator

Automated Checking

Test your tests with mutation testing.

Free
Pitest logo

Pitest

Automated Checking

State of the art mutation testing system, providing gold standard test coverage for Java and the jvm.

Free