Package com.tngtech.jgiven.report
Class AbstractReportGenerator
java.lang.Object
com.tngtech.jgiven.report.AbstractReportGenerator
- Direct Known Subclasses:
AsciiDocReportGenerator,PlainTextReportGenerator
This abstract class is the basic layout that includes the minimal functionality for reading/writing a report
The following flags are predefined in
AbstractReportConfig.createConfigOptions():
- --format=
- --sourceDir= /--dir=
- --targetDir= /--todir=
- --title=
- --exclude-empty-scenarios=<boolean>
- --help / -h
AsciiDocReportGenerator-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract AbstractReportConfigcreateReportConfig(String... args) abstract voidgenerate()This implements the main functionality of the report generator, utilizing the information from the specializedAbstractReportConfigprotected voidgenerateFromCommandLine(String... args) voidvoidvoidsetConfig(AbstractReportConfig config)
-
Field Details
-
completeReportModel
-
config
-
-
Constructor Details
-
AbstractReportGenerator
public AbstractReportGenerator()
-
-
Method Details
-
setConfig
-
generateFromCommandLine
-
generateWithConfig
-
loadReportModel
public void loadReportModel() -
createReportConfig
- Parameters:
args- these are the command line arguments- Returns:
- an
AbstractReportConfigwhere any option may be accessible via setter and getter
-
generate
This implements the main functionality of the report generator, utilizing the information from the specializedAbstractReportConfig- Throws:
Exception
-