Plugin Documentation
Goals available for this plugin:
Goal | Description |
---|---|
qa-jgiven-reporter:perclass-report | Generates JGiven report in QA format per class (segregated). |
qa-jgiven-reporter:permethod-report | Generates JGiven report in QA format per method with associated attributes. Scans all JGiven report .json files for specified referenceTag . 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. |
qa-jgiven-reporter:report | Generates JGiven report in QA format. |
System Requirements
The following specifies the minimum requirements to run this Maven plugin:
Maven | 3.9.5 |
JDK | 11 |
Usage
You should specify the version in your project's plugin configuration:
<project> ... <build> <!-- To define the plugin version in your parent POM --> <pluginManagement> <plugins> <plugin> <groupId>dev.aherscu.qa</groupId> <artifactId>qa-jgiven-reporter-maven-plugin</artifactId> <version>1.0.5-SNAPSHOT</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>dev.aherscu.qa</groupId> <artifactId>qa-jgiven-reporter-maven-plugin</artifactId> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"