-
Notifications
You must be signed in to change notification settings - Fork 396
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: allow TestReport to generate a formatted report
The report used for tests (`TestReport`) can now generate a formatted report. - a new `setReportingFormat(String)` method is used to set the generated report format (can be "JSON", "XML", "XMP", or defaulting to a silent report) - the `initialize()` method (Report API) is used to instantiate a delegate formatting report - the `generate()` method (Report API) is used to finalize the formatted report delegate - a new `getOutput()` method is used to retrieve a String containing the formatted report This formatting functionality is exposed as a cucumber step implemented in `TestConfiguration` and called with (in this example, for a JSON report): ``` Given the reporting format is set to JSON ```
- Loading branch information
Showing
3 changed files
with
82 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters