In this section of the Gradle Tutorial, we would be learning how to create and generate different reports
in our Gradle project.
Before
moving further I would highly recommend you visit this link. To understand
how to create and work with the Gradle project.
There
are two basic types of reports that we can generate with Gradle.
1. TestNG report
2.
Gradle Report
To Configure TestNG Report we need to provide
the below configuration in our build.gradle file.
Once we execute our test we would be able to
view one new folder named AutomationReport which would contain a report like this.
Similarly to configure the Gradle report we need to
provide the below configuration in our build.gradle file.
Once we execute our test we would be able to
view one new folder named GradleReport which would contain a report like this.