Class FeatureReportCreator
java.lang.Object
de.qytera.qtaf.htmlreport.creator.ReportCreator
de.qytera.qtaf.htmlreport.creator.FeatureReportCreator
- All Implemented Interfaces:
IReportCreator
HTML report creator for scenarios
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TestFeatureLogCollectionScenario Log Collectionprotected StringRoot templateFields inherited from class de.qytera.qtaf.htmlreport.creator.ReportCreator
filename -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancreateReport(TestSuiteLogCollection logCollection, TestFeatureLogCollection featureLogCollection) Create feature reportgetReportPath(TestSuiteLogCollection logCollection) Build report pathprotected StringGet root template pathgetTemplateContext(TestSuiteLogCollection logCollection) Get template contextMethods inherited from class de.qytera.qtaf.htmlreport.creator.ReportCreator
createReport, getPebbleTemplate, getRenderedTemplate, persistRenderedTemplate, renderTemplate
-
Field Details
-
rootTemplate
Root template -
featureLog
Scenario Log Collection
-
-
Constructor Details
-
FeatureReportCreator
public FeatureReportCreator()
-
-
Method Details
-
createReport
public boolean createReport(TestSuiteLogCollection logCollection, TestFeatureLogCollection featureLogCollection) Create feature report- Parameters:
logCollection- Log collectionfeatureLogCollection- Feature Log Collection- Returns:
- true on success
-
getTemplateContext
Description copied from class:ReportCreatorGet template context- Overrides:
getTemplateContextin classReportCreator- Parameters:
logCollection- Logs- Returns:
- Template context
-
getReportPath
Description copied from class:ReportCreatorBuild report path- Overrides:
getReportPathin classReportCreator- Parameters:
logCollection- the log collection- Returns:
- report path
-
getRootTemplate
Description copied from class:ReportCreatorGet root template path- Overrides:
getRootTemplatein classReportCreator- Returns:
- root template path
-