forked from Mirroring/Kore
Updated documentation on running local and instrumentation tests (#460)
parent
01f90c145d
commit
d447789dc6
10
README.md
10
README.md
|
@ -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
|
||||
-------
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue