August 2017
Intermediate to advanced
332 pages
9h 16m
English
To run an automated test, we need to make a few configurations:
testCompile("info.cukes:cucumber-java:1.2.4") testCompile("info.cukes:cucumber-junit:1.2.4")
task acceptanceTest(type: Test) { include '**/acceptance/**' systemProperties System.getProperties() } test { exclude '**/acceptance/**' }
This splits the tests into unit (run with ./gradlew test) and acceptance (run with ./gradlew acceptanceTest).
package acceptance; import cucumber.api.CucumberOptions; ...
Read now
Unlock full access