Skip to content

Commit

Permalink
Updated documentation on running local and instrumentation tests (#460)
Browse files Browse the repository at this point in the history
  • Loading branch information
poisdeux authored and SyncedSynapse committed Sep 28, 2017
1 parent 01f90c1 commit d447789
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ Building
5. Gradle should be able to fetch all the other needed libraries.


Testing
-------

1. Make sure you are able to build Kore as described in the previous section.
2. To run the local tests see [README](https://github.com/xbmc/Kore/blob/master/app/src/test/README.md)
3. To run the instrumented tests see [README](https://github.com/xbmc/Kore/blob/master/app/src/androidTest/README.md)

We currently use [travis-ci](https://travis-ci.org/xbmc/Kore/) to automatically build
and run the local tests for each pull request.

Credits
-------

Expand Down
2 changes: 1 addition & 1 deletion app/src/androidTest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ You can run the tests as follows:
### Android Studio

1. Select build variant "instrumentationTestDebug"
2. Set the (Project view)[https://developer.android.com/studio/projects/index.html] to Android
2. Set the [Project view](https://developer.android.com/studio/projects/index.html) to Android
3. Right-click on the directory "androidTest" and select "Run tests"

### Commandline
Expand Down
6 changes: 3 additions & 3 deletions app/src/test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ You can run the tests as follows:

### Android Studio

1. Select build variant "instrumentationTestDebug"
2. Set the (Project view)[https://developer.android.com/studio/projects/index.html] to Android
1. Select build variant "fullDebug"
2. Set the [Project view](https://developer.android.com/studio/projects/index.html) to Android
3. Right-click on the directory "test" and select "Run tests"

### Commandline

Run the following command from the top of the project:

./gradlew testInstrumentationTestDebugUnitTest
./gradlew testFullDebugUnitTest

0 comments on commit d447789

Please sign in to comment.