Package de.qytera.qtaf.allure
Class AllureReportGenerator
java.lang.Object
de.qytera.qtaf.allure.AllureReportGenerator
Class for generating Allure JSON files.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidGenerates an Allure report based on the provided test suite log collection.static voidgenerateReportFile(TestSuiteLogCollection suite, io.qameta.allure.model.TestResult testResult, String path) Generate an Allure JSON file.
-
Method Details
-
generateReport
Generates an Allure report based on the provided test suite log collection.- Parameters:
suite- the log collection- Throws:
IOException- if the report cannot be created
-
generateReportFile
public static void generateReportFile(TestSuiteLogCollection suite, io.qameta.allure.model.TestResult testResult, String path) Generate an Allure JSON file.- Parameters:
suite- Test Suite entitytestResult- Allure test result entitypath- Destination Path
-