ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <>
Subject JUnit task - capturing system state with results
Date Mon, 04 Jun 2001 02:11:48 GMT
I'm starting to make a patch to the JUnit task such that it captures a
snapshot of the system state as part of the test results.   What properties
should be captured to give the necessary information for interpretting test

Currently I'm grabbing these:


Should I be capturing anything else?   I'm mirroring the behavior of the
properties by first building a collection from getUserProperties and then
overlaying any non-existing properties into it from getProperties, so that
getUserProperties takes precedence.   If this is not correct, please let me

I have (locally only, of course) modified the file to capture
these properties and will also be modifying
file to pull these properties from the JUnitTest instance and put them into
the XML result as well as add the output of these properties in XSL so that
the <junitreport> tag will include this in the HTML results.

Any comments or suggestions before I get too deep into this?   There are
only a few places that I'll be modifying code, it seems, though.  I'll
forward my code modifications back to this list for review and inclusion as
soon as I implement these changes.


View raw message