XUnit reporter for Newman that provides the information about the collection run in JUnit format. This needs to be used in conjunction with Newman so that it can recognize JUnit reporting options.
Note that this is based on the JUnit Full Reporter. This reporter generates additional metadata in the XUnit XML report if you supply additional metadata in the collection or in the environment configurations.
This is different from newman-reporter-junit is using executions to have full report and no aggregated report.
Please use newman-reporter-junit if you want the original aggregated results.
The installation should be global if newman is installed globally, local otherwise. (Replace -g from the command below with -S for a local installation)
npm install -g newman-reporter-xunitfull
Similar usage to the original.
However, you can add extra metadata or properties in the collection like so:
{
"item": [
{
"name": "Health Check",
"item": [
{
"name": "Ping the API",
"_property_color": "green",
"event": [...],
...
Note that the metadata/property must start with _property_
in order to be parsed by the reporter.