Dashboard > Pulse v1.2 > ... > pulse Files > junit.summary.pp
  Pulse v1.2 Log In | Sign Up   View a printable version of the current page.  
  junit.summary.pp
Added by Jason Sankey, last edited by Jason Sankey on May 08, 2006
Labels: 
(None)

Pulse Manual Index

JUnit Summary Post-Processor

The JUnit summary post-processor is able to detect test failures and errors reported in summary form as the tests are executed. JUnit summaries are lines like:

Running com.example.Test
Tests run: 101, Failures: 0, Errors: 0, Time elapsed: 12.064 sec

This post-processor will add an error feature for any line that reports a test failure or error. By default this will not cause the build to fail, although this behaviour may be changed with the fail-on-error attribute (see regex.pp).

The JUnit summary post-processor is a subclass of the regular expression post-processor. All attributes and child elements available for regular expression post-processors are also available for JUnit summary post-processors.

Attributes

Attribute Description Required? Default
name The name of this post-processor. Yes  

See also regex.pp.

Child Elements

See regex.pp.

Examples

Apply a JUnit summary post-processor to the output of an ant command:

<junit.summary.pp name="test.pp"/>

<recipe name="default">
    <ant name="build" targets="test">
        <process processor="${test.pp}"/>
    </ant>
</recipe>

Zutubi wiki is Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.10 Build:#528 Nov 29, 2006) - Bug/feature request - Contact Administrators