Martini Reports
Table of Contents
What is Martini Reports?
Martini Reporting is a Java command-line tool used to generate a traceability matrix from the JSON output of a Martini suite execution.
How does Martini Reports work?
The library parses Martini JSON output to generate a report in Excel format.
How do I generate a traceability matrix from my Martini suite output?
-
Execute a Martini test suite using the standalone harness with runtime argument -jsonOutput to produce .json files
example:
-jsonOutput file:///path/to/martini.json
-
Optionally run additional suites, collecting output files in a single directory.
-
Execute class guru.qas.martini.report.Main with file or directory input argument and output argument.
example 1:
java -cp ... guru.qas.martini.report.Main -f file:///path/to/martini.json -o /path/to/martini.xlsx
example 2:
java -cp ... guru.qas.martini.report.Main -d file://path/to -o /path/to/martini.xlsx
example 3:
mvn exec:java -Dexec.mainClass="guru.qas.martini.report.Main" -Dexec.args="-i file:///path/to/martini.json -o file:///path/to/martini.xlsx"