Gradle plugin for Cucumber reporting tool Cucumber Reporting
To include, add the following to your build.gradle
buildscript {
repositories { jcenter() }
dependencies {
classpath 'ru.alfalab.gradle:cucumber-reporting-gradle-plugin:x.x.+'
}
}
apply plugin: 'ru.alfalab.cucumber-reporting'
generateCucumberReport
generate Cucumber report
cucumberReporting {
cucumberResultsDirectory = file("${project.buildDir}/cucumber") // cucumber results dir (eg. cucumber.json location)
outputDirectory = file("${project.buildDir}/reports/cucumber") // directory for save html reports
}
Reports can be found in dir ${project.buildDir}/reports/cucumber/
Run ./gradlew test
an see results in console output or follow to ./build/test/
This directory contain integration tests and their data.
./gradlew build
build./gradlew pTML
publish to maven local