An open API service indexing awesome lists of open source software.

https://github.com/getgauge/xml-report

xml-report generation plugin for Gauge
https://github.com/getgauge/xml-report

gauge gauge-plugin

Last synced: 5 months ago
JSON representation

xml-report generation plugin for Gauge

Awesome Lists containing this project

README

          

xml-report
==========

[![Actions Status](https://github.com/getgauge/xml-report/workflows/tests/badge.svg)](https://github.com/getgauge/xml-report/actions)
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v1.4%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md)

XML Report plugin creates JUnit XML test result document that can be
read by tools such as Go, Jenkins. The format of
XML report is based on [JUnit XML Schema](https://windyroad.com.au/dl/Open%20Source/JUnit.xsd).

**Sample XML Report Document** :

```xml








```

Installation
------------

````
gauge install xml-report
````

* Installing specific version

```
gauge install xml-report --version $VERSION
```

### Offline installation

* Download the plugin from [Releases](https://github.com/getgauge/xml-report/releases)
```
gauge install xml-report --file xml-report-$VERSION-$OS.$ARCH.zip
```

Configuration
------------

To add XML report plugin to your project, run the following command :

```
gauge install xml-report
```

The XML report plugin can be configured by the properties set in the
``env/default.properties`` file in the project.

The configurable properties are:

**gauge_reports_dir**

Specifies the path to the directory where the execution reports will be generated.

- Should be either relative to the project directory or an absolute
path. By default it is set to `reports` directory in the project.

**overwrite_reports**

Set to `true` if the reports **must be overwritten** on each execution hence maintaining only the latest
execution report.

- If set to `false` then a **new report** will be generated on each
execution in the reports directory in a nested time-stamped
directory. By default it is set to `true`.

License
-------

This program is licensed under:

[Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt)

Copyright
---------

Copyright 2018 ThoughtWorks, Inc.