This project covers the basics of Espresso
My motivation behind this project was to learn white-box and shift-left testing so that major bugs can be identified and fixed during the development life cycle.
- Download, install and launch Android Studio
- Browse and open solution folder 'KotlinChallenge-master' in Android Studio
- Open 'ChallengeActivityTest' from Project Explorer. Located at app->java->com.careem.kotlinchallenge(androidTest)
- Open AVD Manager (Alt + Shift + F11)
- Add new virtual device if none exists. Example Pixel 2
- Launch the device in emulator from AVD Manager. Make sure power and screen of the virtual device is on
- Go back to ChallengeActivityTest and start tests. Ctrl + Shift + F10
- App will build and lauch in the Virtual Device
- All tests in ChallengeActivityTest will be executed