-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the automatic-octo-fiesta wiki!
| Applications |
|---|
| RecepieApp |
| RobotPatternLoginFlow |
| MovieGridFakeTestDemo |
| 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 | |||
| What is fake | ||||
| What is spying |
| Rules used in testing | Testing Coroutines | Using local server |
|---|---|---|
| What is InstantTaskExecutorRule | Using runBlockingTest | |
| What is ActivityTestRule | Using TestCoroutineDispatcher |
Description: In this application, There are some recipes in assets, we need to parse the recipes and display them in a list view, and on click of each row in the recipe list we need to display a detailed screen of that recipe and we can set the recipe as favorite and store the selection in shared preferences.
- In this application, we learn how to use the espresso tool both in Instrumentation and unit test
- How to set up a custom test runner
- How to use the robot pattern
- How to test function elements that involve context
Description: In this application, we have a login screen that takes email and password as input, There are few validations present in it based on proper input of user-name and password the user is allowed to the home page. For these scenarios, we have written robot-pattern based test cases.
- Here we basically demonstrate how to use the
robot-patternfor writing the test cases.
Description: In this application, We are listing the list of movies in a grid view by fetching it from the server. We will be using the concept of fakes to demonstrate how to use unit testing for testing the service layers