Articles

Add formatted SQL to Allure report

 To add more details to our test report, we could attach SQL requests to it.


After adding SQLFormatter and addAttachment:

        Allure.addAttachment("SQL request info", executedSqlInfo);