sebaslogen / CleanGUITestArchitecture

Sample project of Android GUI test automation using Espresso, Cucumber and the Page Object Pattern
MIT License
137 stars 31 forks source link

Not able to execute only scenarios tagged with particular tag #2

Closed shalinbshah closed 8 years ago

shalinbshah commented 8 years ago

The command below executes all the scenario irrespective of tags provided from console

gradlew connectedAndroidTest -Dtags="~@login,~@login_unit"

sebaslogen commented 8 years ago

Indeed it's a bug in the documentation, the correct parameter is '-Ptags="~@login,~@login_unit"' because the property is read in build.gradle as a project property (-P), not as a system property (-D).

I just updated the Readme. Thanks for opening the bug!