Created
February 8, 2019 02:45
-
-
Save pradhyu/5ac6aff0cb50bb697466c444653e3639 to your computer and use it in GitHub Desktop.
Configure spock report ( athaydes)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spockReports { | |
// shows code blocks in report | |
set 'com.athaydes.spockframework.report.showCodeBlocks': true | |
// change the output dir of spock reports | |
set 'com.athaydes.spockframework.report.outputDir': 'target/spock-reports' | |
// using templates | |
set 'com.athaydes.spockframework.report.IReportCreator': 'com.athaydes.spockframework.report.template.TemplateReportCreator' | |
// Set properties of the report creator | |
set 'com.athaydes.spockframework.report.template.TemplateReportCreator.specTemplateFile':'/reportTemplates/spec-template.md' | |
set 'com.athaydes.spockframework.report.template.TemplateReportCreator.summaryTemplateFile':'/reportTemplates/summary-template.md' | |
set 'com.athaydes.spockframework.report.template.TemplateReportCreator.enabled':true | |
set 'com.athaydes.spockframework.report.template.TemplateReportCreator.summaryFileName':'summary.md' | |
set 'com.athaydes.spockframework.report.template.TemplateReportCreator.enabled':true | |
} | |
runner { | |
filterStackTrace false | |
println "Using SpockConfig" // // ./gradlew test --info will show this line as standard output | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment