Skip to content

A simple android tutorial project with test projects for teaching purposes

License

Notifications You must be signed in to change notification settings

bzafiris/android-tutorial-project

Repository files navigation

android-tutorial-project

A simple android tutorial project with test projects for teaching purposes. The project includes a small android application (quadratic equation solver) that is tested with the help of various test frameworks and specifically (a) Android test framework, (b) Espresso, (c) UIAutomator and (d) Robolectric.

Before running instrumented tests follow the instructions of the android developer team:

To avoid flakiness, we highly recommend that you turn off system animations
on the virtual or physical devices used for testing. On your device, under
Settings > Developer options, disable the following 3 settings:

- Window animation scale
- Transition animation scale
- Animator duration scale

Execute the android integration tests in a connected device or emulator with the command:

gradlew connectedCheck

Robolectric tests are executed as ordinary JUnit tests in a standard JVM with the command:

gradlew test

About

A simple android tutorial project with test projects for teaching purposes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages