// Behaviour tests based on a deployed application. task cucumberTest(type: Test) { description = "Execute cucumber BDD tests." group = "verification" include '**/CucumberTest*' // uncomment if the tests reports are not generated // see https://github.com/jhipster/generator-jhipster/pull/2771 and https://github.com/jhipster/generator-jhipster/pull/4484 // ignoreFailures true reports.html.enabled = false } check.dependsOn cucumberTest task testReport(type: TestReport) { destinationDir = file("$buildDir/reports/tests") reportOn test } task cucumberTestReport(type: TestReport) { destinationDir = file("$buildDir/reports/tests") reportOn cucumberTest }