1
0

splitting up build.gradle - step 1

This commit is contained in:
Michael Hoennig
2019-04-30 07:52:37 +02:00
parent de6c7c5d4a
commit 29a2178a48
6 changed files with 150 additions and 147 deletions

24
build-cucumber.gradle Normal file
View File

@@ -0,0 +1,24 @@
// 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
}