Class AllureReportGenerator

java.lang.Object
de.qytera.qtaf.allure.AllureReportGenerator

public class AllureReportGenerator extends Object
Class for generating Allure JSON files
  • Method Details

    • generateReport

      public static void generateReport(TestSuiteLogCollection suite) throws IOException
      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 entity
      testResult - Allure test result entity
      path - Destination Path