cicd
Gradle Build for Junit Smart Chart and Csv Reports

Use the version - 1.2.11 (opens in a new tab) or higher (opens in a new tab)

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

Gradle Steps (sample build.gradle - HelloWorld repo (opens in a new tab) ) :

  • 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