adds instruction on how to run tests in android studio

If I ran the right tests in https://github.com/TeamNewPipe/NewPipeExtractor/pull/100#issuecomment-414696293, this should be the instructions
This commit is contained in:
BO41 2018-08-21 16:45:45 +02:00 committed by GitHub
parent 2b7b9c2da8
commit e011ee0e55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -33,6 +33,12 @@ This way you have your own working repository. Now clone this repository into yo
Next import the cloned project into your [ide](https://www.jetbrains.com/help/idea/configuring-projects.html#importing-project) Next import the cloned project into your [ide](https://www.jetbrains.com/help/idea/configuring-projects.html#importing-project)
and [run](https://www.jetbrains.com/help/idea/performing-tests.html) it. and [run](https://www.jetbrains.com/help/idea/performing-tests.html) it.
If all the checks are green you did everything right, and you are good to go to move on to the next chapter. If all the checks are green you did everything right, and you are good to go to move on to the next chapter.
#### Running test in Android Studio
Go to _run_ > _edit configurations_ > _add new configuration_ and select "Gradle".
As Gradle Project, select NewPipeExtractor. As task add "test". Now save and you should be able to run.
![tests passed on idea](img/prepare_tests_passed.png) ![tests passed on idea](img/prepare_tests_passed.png)
# Inclusion criteria for services # Inclusion criteria for services