Class QaJGivenPerMethodReporterMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- dev.aherscu.qa.jgiven.reporter.maven.plugin.AbstractQaJgivenReporterMojo
-
- dev.aherscu.qa.jgiven.reporter.maven.plugin.QaJGivenPerMethodReporterMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="permethod-report", defaultPhase=VERIFY) public class QaJGivenPerMethodReporterMojo extends AbstractQaJgivenReporterMojo
Generates JGiven report in QA format per method with associated attributes. Scans all JGiven report.json
files for specifiedreferenceTag
. Only reports having such tag are processed. For every scenario method, all its tags are written in an associated "attributes" file. The association is done by file name. These "attributes" can later be used as additional publishing information.
-
-
Field Summary
Fields Modifier and Type Field Description protected String
referenceTag
JGivenReference
> tag.protected String
templateResource
-
Fields inherited from class dev.aherscu.qa.jgiven.reporter.maven.plugin.AbstractQaJgivenReporterMojo
datePattern, debug, outputDirectory, pdf, screenshotScale, skip, sourceDirectory
-
-
Constructor Summary
Constructors Constructor Description QaJGivenPerMethodReporterMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
-
-
Field Detail
-
templateResource
@Parameter(defaultValue="/qa-jgiven-permethod-reporter.html") protected String templateResource
-
referenceTag
@Parameter(defaultValue="Reference") protected String referenceTag
JGivenReference
> tag. Not linked in this module in order to allow faster builds (otherwise the build of this module would depend onqa-jgiven-commons
module).
-
-