This is demo project with TestNG + Selenium + JAVA and reporting tool as Allure.
- Java 8 or above
- Gradle 6.6 or above
- Eclipse
- Open Windows PowerShell and install scoop. Refer: https://scoop.sh/
- Now Install Allure using :
scoop install allure
- Allure should get installed. Check Allure version with
allure --verion
command.
- Clone this repository.
- Go to terminal and run test using :
gradle clean test
- Go to build directory using
cd build
and Generate Allure report using :allure generate allure-results --clean -o allure-report
- Now Generate result from Allure report using :
allure serve allure-results
Using Allure reporting you can generate different reports along with detailed test description and steps in the reporting. Enjoy!
Using Git actions, We can configure and publish this result on Github pages. Checkout this configuration for workflow.
Result of workflow: https://unnatisolanki64.github.io/allure-testng-gradle