-
Clone the repository.
-
Select
build.gradle
file from the project and open it as a project. -
There are two options for running your tests -
- Go to your IntelliJ terminal and type the following -
gradle clean build runDistribution -DtestFeed="kik" -Dtags=@helloKik
Here you can choose to replace the tags in the feature files which you will find under
src/test/resources
- The other option is to go to Run->Edit Configurations from your menu and click on it.Then click on Defaults->Cucumber java.You will see a configuration tab on the top right side.Under that you will find VM options.There you have to write the following :
-DtestFeed=kik -DrunMode=Distribution
After doing this, go to any of the feature files and right click on any scenario and select Run option.
For this running this test, you will need two emulators or devices up and running