From 5f44af375754f1fa8fddd53834cdf36f4be29a62 Mon Sep 17 00:00:00 2001 From: Jan Piotrowski Date: Tue, 4 Dec 2018 20:38:31 +0100 Subject: [PATCH] improve test readme (#582) ### Platforms affected ### What does this PR do? ### What testing has been done on this change? ### Checklist - [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database - [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected. - [ ] Added automated test coverage as appropriate for this change. --- test/README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/README.md b/test/README.md index 4cf0253f..a6c62f55 100644 --- a/test/README.md +++ b/test/README.md @@ -22,7 +22,7 @@ # Cordova Android Test Project The project in this directory is an Android Test project that enables those -interested in further developing cordova-android to validate their changes. +interested in further developing `cordova-android` to validate their changes. ## Requirements @@ -33,7 +33,7 @@ writing) at least version 3.3 or newer. ## Getting Started You can run this test project from both the command line as well as from -Android Studio. +Android Studio: ### Command Line @@ -50,8 +50,10 @@ end-to-end, or instrumented, tests. Unit tests do not require any particular environment to run in, but the instrumented tests, however, require a connected Android device or emulator to run in. -To run the unit tests, run: `gradlew test`. -To run the instrumented tests, run: `gradlew connectedAndroidTest`. +- To run the unit tests, run: `gradlew test`. +- To run the instrumented tests, run: `gradlew connectedAndroidTest`. + +To make sure all tests are run, add the `--rerun-tasks` parameter. ### Android Studio