Skip to content

Gradle build for JUnit Smart Chart and CSV Reports

authorjapps edited this page Mar 11, 2019 · 2 revisions

Use the version - 1.2.11 or higher

Gradle: group: 'org.jsmart', name: 'zerocode-rest-bdd', version:'1.2.11'

Gradle Steps (sample build.gradle - HelloWorld repo ) :

  • Clear the target folder
  • Configure the test to generate charts and csv
test {
    systemProperty 'zerocode.junit', 'gen-smart-charts-csv-reports'
    include 'org/jsmart/zerocode/testhelp/tests/HelloWorldGitHubSuite.class'
}
  • Issue a clean build command as below
  /gradlew clean build
  • See the target folder for these two reports
    • zerocode-junit-granular-report.csv
    • zerocode-junit-interactive-fuzzy-search.html

Blogs

Clone this wiki locally