DEV Community

Cover image for 🔥 How to Configure Allure Report to Rest Assured API Automation Project?
Pramod Dutta
Pramod Dutta

Posted on

🔥 How to Configure Allure Report to Rest Assured API Automation Project?

In this video of Rest Assured For beginners, We are going to configure allure report to rest assured project.

✅ Rest Assured Masterclass (build your Own API Automation Framework from Scratch even as a complete beginner
👉 https://apitesting.co/enroll

✅ What is Allure Report
flexible and lightweight test reporting tool
concise representation of test execution in a very intuitive web report

✅ How to Add Allure to Rest Assured Project?
Install local

For Mac. - brew install allure

For Windows - scoop install allure

To add the Allure with TestNG Project

Example with TestNG File
Demo
https://go.scrolltest.com/1pfW
✅ Allure annotations
@Epic
@Features
@Stories/@Story
@Severity(SeverityLevel.BLOCKER)
@Description("In this cool test we will check cool thing")
@Step
@Attachment
@link

✅ If you want to learn End to End RestAssured MasterClass
https://apitesting.co/enroll
Ping me for discount over - scrolltest.com/fb

✅ What is REST Assured?
REST Assured is a Java library that provides a domain-specific language (DSL) for writing powerful, maintainable tests for RESTful APIs. ... I'll be using real-world code examples you can copy, run, and reuse directly in your own test automation effort

Top comments (1)

Collapse
 
vibhanshujain profile image
Vibhanshu Jain

Hi Pramod,
its a good video thanks for the upload.
Just one thing can you also share how to send Allure report over mail?
Or, if we can just send summary of the report including Total no of test cases, success results and failure results that also works for me.
Thanks..