Measurement Plots Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID measurement-plots Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
Dependencies
0.1 (archives)
Apr 07, 2010
1.353
Source Code
Issue Tracking
Maintainer(s)
Subversion
Open Issues
K. R. Walker (id: krwalker)
Usage Installations 2014-Mar 530
2014-Apr 539
2014-May 526
2014-Jun 531
2014-Jul 561
2014-Aug 564
2014-Sep 574
2014-Oct 591
2014-Nov 598
2014-Dec 595
2015-Jan 586
2015-Feb 583

Plot measurements embedded into the standard output and error streams of tests.

General

Searches standard output and standard error of test reports for measurements of the form:

<measurement><name>My Measurement</name><value>42.0</value></measurement>

These measurements will be associated with the test objects they are found within.

Measurement Format Requirements

The <measurement> must be:

  • on one line
  • within the standard-output or standard-error tags in the JUnit output
  • escaped (they're essentially a nested mini-document)

e.g.,

<standard-error>
&lt;measurement&gt;&lt;name&gt;hi&lt;/name&gt;&lt;value&gt;16&lt;/value&gt;&lt;/measurement&gt;
</standard-error> 

Example of a Complete Input JUnit File

Notice that the XML-like syntax for the measurement has to be escaped in the <system-out> element.

<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
    <testsuite name="package">
       <testcase name="case" time="0"/>
       <system-out>
&lt;measurement&gt;&lt;name&gt;Length (m)&lt;/name&gt;&lt;value&gt;0.5&lt;/value&gt;&lt;/measurement&gt;
&lt;measurement&gt;&lt;name&gt;Time (s)&lt;/name&gt;&lt;value&gt;0.2&lt;/value&gt;&lt;/measurement&gt;</system-out>
    </testsuite>
</testsuites>

Example of Multiple Measurements on a Test Object

Example of a Measurement Graph

Configuration

Global Configuration

None.

Project Configuration

For a project to use the Measurement Plots plugin, you need to enable it in the project configuration page:

Post-build actions > Publish JUnit test result report > Additional test report features > Measurement Plots

Version History

0.1 (Apr 7, 2010)

  • Initial public release

0.0 (Apr 3, 2010, Unreleased)

Labels

Edit
plugin-report plugin-report Delete
plugin-ui plugin-ui Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Add Comment