Skip to content

Commit

Permalink
Updated Android Studio GUI run configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
sebaslogen authored Jun 1, 2017
1 parent 7bfdd3c commit 6d1abf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Alternative, from the command line run ```gradlew connectedCheck```
Cucumber supports **filtering execution of test scenarios with tags** (i.e. @login-scenarios). To filter by tags you have the following options (which can't be combined):
- Hard coded tags in annotation ```@CucumberOptions``` inside ```CucumberTestCase.java```
- Use parameters in command line like ```./gradlew connectedAndroidTest -Ptags="@login-scenarios,@kitkat"```
- In Android Studio create a new configuration of type `Android Tests` and under the `Extra options` add something like `-e tags @login-scenarios,@kitkat`
- In Android Studio, run connectedAndroidTest in the right Gradle tab and then edit the run configuration to add under the `Script parameters` something like `-Ptags="@login-scenarios,@kitkat"`

More information about how to use and combine [Cucumber tags here](https://github.com/cucumber/cucumber/wiki/Tags).

Expand Down

0 comments on commit 6d1abf0

Please sign in to comment.