ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chip McCormick <CMcCorm...@commercehub.com>
Subject junit ant task test listeners
Date Mon, 23 Aug 2010 12:59:14 GMT
Does anyone know how to add a test listener to an ant junit task, without having to create
a custom task?

We are attempting to add a test listener to a junit ant task to do custom logging after each
test class in a batch completes.

The only mention in the API of how to do this describes how to enable the test listener events,
but does not explain how to add a listener for a specific event:
http://ant.apache.org/manual/Tasks/junit.html#enabletestlistenerevents

It looks like the 'enabletestlistenerevents' feature was added to ant in response to this
bug:
https://issues.apache.org/bugzilla/show_bug.cgi?id=31885

Chip McCormick
Software Engineer
CommerceHub


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message