Until now, we have been running the test via an IDE. When we started with the gradle file, it was majorly to pull in the dependencies needed for the project. Here's how the current version of the gradle file looks:
group 'com.test'
version '1.0-SNAPSHOT'
apply plugin: 'java'
//sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
compile group: 'info.cukes', name: 'cucumber-java',
version: '1.2.5'
compile group: 'io.appium', name: 'java-client',
version: '5.0.0-BETA6'
}
The next step is to create a task that will execute the cucumber features in a different feature file. A task represents an atomic piece of work for a build. Tasks generally belong to...