Class FeatureReportCreator

java.lang.Object
de.qytera.qtaf.htmlreport.creator.ReportCreator
de.qytera.qtaf.htmlreport.creator.FeatureReportCreator
All Implemented Interfaces:
IReportCreator

public class FeatureReportCreator extends ReportCreator
HTML report creator for scenarios
  • Field Details

    • rootTemplate

      protected String rootTemplate
      Root template
    • featureLog

      protected de.qytera.qtaf.core.log.model.collection.TestFeatureLogCollection featureLog
      Scenario Log Collection
  • Constructor Details

    • FeatureReportCreator

      public FeatureReportCreator()
  • Method Details

    • createReport

      public boolean createReport(de.qytera.qtaf.core.log.model.collection.TestSuiteLogCollection logCollection, de.qytera.qtaf.core.log.model.collection.TestFeatureLogCollection featureLogCollection)
      Create feature report
      Parameters:
      logCollection - Log collection
      featureLogCollection - Feature Log Collection
    • getTemplateContext

      protected Map<String,Object> getTemplateContext(de.qytera.qtaf.core.log.model.collection.TestSuiteLogCollection logCollection)
      Description copied from class: ReportCreator
      Get template context
      Overrides:
      getTemplateContext in class ReportCreator
      Parameters:
      logCollection - Logs
      Returns:
      Template context
    • getReportPath

      public String getReportPath(de.qytera.qtaf.core.log.model.collection.TestSuiteLogCollection logCollection)
      Description copied from class: ReportCreator
      Build report path
      Overrides:
      getReportPath in class ReportCreator
      Returns:
      report path
    • getRootTemplate

      protected String getRootTemplate()
      Description copied from class: ReportCreator
      Get root template path
      Overrides:
      getRootTemplate in class ReportCreator
      Returns:
      root template path