Skip to content

Testing

Sam Crow edited this page Feb 26, 2016 · 3 revisions

The Cook-E tests must be run on an Android device or in an emulator.

To run the Android tests from Android Studio, select the Android Tests configuration and press the run button in the toolbar.

To run the Android tests from the command line, a device must already be connected or an emulator must already be running. Use the command:

./gradlew connectedAndroidTest

Test reports will be placed in the app/build/reports/androidTests/connected folder.

Test coverage reports will be created if the tests were run in an emulator, as described on the test coverage page.

Clone this wiki locally