π·οΈ By using kotlin programming language, This is a clean architecture developed to demonstrate the usage of clean code.
π·οΈ There are multiple projects that contains samples of the code used for testing & learning many concepts of unit testing.
π·οΈ There is one main full fledge application where concepts are implemented for demo.
π³ππππππππππππ πππ πππππππππ π§ͺ
Useful Test Libraries | Description | Online link |
|---|---|---|
| Google fluent assertions | Truth - Fluent assertions for Java and Android | website |
| MockWebServer | This is used to simulate the remote API locally for instrumentation tests | website |
| MockK | Helpful for writing unit tests similar to espresso with pure kotlin based DSL | website |
| About Unit Testing | Test doubles | Templates in test | Test Patterns | Code coverage |
|---|---|---|---|---|
| Why testing is Essential | What is a test double, why we need it | AAA-Templete | Robot Pattern | JaCoCo |
| Testing Pyramid | What is mock | |||
| Segregating the tests in android | What is stub | |||
| Good practices in testing | What is fake | |||
| Annotations Explained | What is spying |
| Rules used in testing | Testing Coroutines | Using local server |
|---|---|---|
| What is InstantTaskExecutorRule | Using runBlockingTest | MockWebServer |
| What is ActivityTestRule | Using TestCoroutineDispatcher | |
| Why do we need a Dispatcher as a rule to test coroutines |
πΎππ π³πππ π°ππππππππππ πππππππππππ
- ImdbMoviesApp
- Architecture Used:
Clean Architecture - Source code
Read contribution guidelines for more information regarding contribution.
Feature requests are always welcome, File an issue here.
Support it by clicking the β button on the upper right of this page. βοΈ
This project is licensed under the Apache License 2.0 - see the LICENSE file for details


