Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

xml-report

Actions Status Contributor Covenant

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.

Sample XML Report Document :

    <testsuites>
        <testsuite id="1" tests="1" failures="0" package="specs/hello_world.spec" time="0.002" timestamp="2015-09-09T13:52:00" name="Specification Heading" errors="0" hostname="INcomputer.local">
            <properties></properties>
            <testcase classname="Specification Heading" name="First scenario" time="0.001"></testcase>
            <system-out></system-out>
            <system-err></system-err>
        </testsuite>
    </testsuites>

Installation

gauge install xml-report
  • Installing specific version
gauge install xml-report --version $VERSION

Offline installation

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

Copyright

Copyright 2018 ThoughtWorks, Inc.