Gradle Tutorial
Introduction Installation Creating project using command line Simple gradle project in IntelliJ IDEA build.gradle file settings.gradle file Directory structure of Gradle project Built-in tasks User defined tasks Task dependencies Running gradle tasks Grouping tasks Repository management in Gradle Declaring dependencies in Gradle JUnit TestNG Test execution reports in Gradle Creating executable Jar using Gradle Generating project API documentation in Gradle Publishing and deployment of artifact in GradleTest execution report in gradle
If you are using TestNG as a testing framework in Gradle, then you can below code in Build.gradle to generate report.
test {
useTestNG() {
useDefaultListeners = true
}
reports.html.enabled = false
}
If you are using JUnit as a testing framework, you can use below code to generate HTML report in Gradle.
test {
reports {
junitXml.enabled = false
html.enabled = true
}
}
Web development and Automation testing
solutions delivered!!