There are no items in your cart
Add More
Add More
Item Details | Price |
---|
Learn how to publish and share Cucumber HTML reports in cloud
In this post, we are going to look at the latest feature available in cucumber which allows us to publish our Cucumber HTML reports in cloud. We can easily share these reports with our teams who will be able to access these reports from anywhere by the help of a unique URL.
Steps:
1. Create any Java Maven project with Selenium & Cucumber setup.
2. Make sure you have added the latest version of the Maven dependencies for cucumber-java (Ex – 6.8.0).
3. Run Cucumber Test Runner file.
4. A notification screen appears on the console providing information on how to publish reports as shown below:
5. Add a new file “cucumber.properties” under src/test/resources with the following line:
cucumber.publish.enabled=true
6. Run Cucumber Test Runner file again.
7. A notification screen appears on the console with the cloud URL where Cucumber Reports are published and can be viewed as shown below:
9. We can easily share this report url with anyone within our organization/teams and they can be easily accessed from anywhere.
Note:
Bijan Patel
Full Stack Test Automation Expert | Selenium Framework Developer | Certified Tosca Automation Specialist | Postman | DevOps | AWS | IC Agile Certified | Trainer | Youtuber | Blogger|