forked from Karumi/KataSuperHeroesAndroid
-
Notifications
You must be signed in to change notification settings - Fork 7
1. Tasks
David González edited this page Jul 31, 2016
·
1 revision
Your task as Android Developer is to write all the UI tests needed to check if the Application UI is working as it should.
This repository is ready to build the application, pass the checkstyle and your tests in Travis-CI environments.
Our recommendation for this exercise is:
-
Before starting
- Fork this repository.
- Checkout
kata-super-heroes
branch. - Execute the application, explore it manually and make yourself familiar with the code.
- Execute
SuperHeroesActivityTest
and watch the only test it contains pass.
-
To help you get started, these are some test cases for
SuperHeroesActivity
:- Setup mocked
SuperHeroesRepository
inSuperHeroesActivityTest
to return a list of some Super Heroes. - Test that RecyclerView is listing the correct number of elements when
SuperHeroesRepository
returns a list of some Super Heroes. - Test that each of this elements contains the correct Super Hero name.
- Setup mocked