Reputation: 2823
I just wondering how can I set Cucumber test parameters when running them directly in IntelliJ
IntelliJ version - 13.0.1
Gradle 1.5
I tried to set them via Edit Configuration, not worked though
The way I pass them when run in command line is as below. It's working fine.
$gradle cucumber -Ptags=@<Scenario Name> -Penv=<Running test env.>
As we can run the Feature scenario directly in IDE, The first parameter of course no need to pass. The question is the second one.
Appreciate your response.
Upvotes: 1
Views: 2120