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 de.qytera.qtaf.core.log.model.collection.TestFeatureLogCollectionScenario Log Collectionprotected StringRoot templateFields inherited from class de.qytera.qtaf.htmlreport.creator.ReportCreator
dateFormat, filename, reportPath -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancreateReport(de.qytera.qtaf.core.log.model.collection.TestSuiteLogCollection logCollection, de.qytera.qtaf.core.log.model.collection.TestFeatureLogCollection featureLogCollection) Create feature reportgetReportPath(de.qytera.qtaf.core.log.model.collection.TestSuiteLogCollection logCollection) Build report pathprotected StringGet root template pathgetTemplateContext(de.qytera.qtaf.core.log.model.collection.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
protected de.qytera.qtaf.core.log.model.collection.TestFeatureLogCollection featureLogScenario 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 collectionfeatureLogCollection- Feature Log Collection
-
getTemplateContext
protected Map<String,Object> getTemplateContext(de.qytera.qtaf.core.log.model.collection.TestSuiteLogCollection logCollection) Description copied from class:ReportCreatorGet template context- Overrides:
getTemplateContextin classReportCreator- Parameters:
logCollection- Logs- Returns:
- Template context
-
getReportPath
public String getReportPath(de.qytera.qtaf.core.log.model.collection.TestSuiteLogCollection logCollection) Description copied from class:ReportCreatorBuild report path- Overrides:
getReportPathin classReportCreator- Returns:
- report path
-
getRootTemplate
Description copied from class:ReportCreatorGet root template path- Overrides:
getRootTemplatein classReportCreator- Returns:
- root template path
-