Plugin Information |
---|
No information for the plugin 'measurement-plots' is available. It may have been removed from distribution. |
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> <measurement><name>hi</name><value>16</value></measurement> </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> <measurement><name>Length (m)</name><value>0.5</value></measurement> <measurement><name>Time (s)</name><value>0.2</value></measurement></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