Wednesday, July 25, 2018

Testing Report using Gradle

After we execute all the test cases using Gradle "test" task, it will generate HTML reports for us, it shows how many tests failed and how many tests passed.

There are two ways to execute the Gradle "test" task.

1) Run Gradle test in eclipse

After finish running all test cases, it looks like this,


2) Execute "gradle test" in command line under the project directory

3) Open the report HTML file in the browser

No comments:

Post a Comment