You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Peter Donald <do...@apache.org> on 2001/10/01 12:23:30 UTC

Re: [PATCH] JUnit writes properties for each testcase

Hi,

has anyone looked at this patch? It is not somethign I use so I don't know 
how useful/good/whatever it is ;)

On Thu, 13 Sep 2001 00:41, Ingmar Stein wrote:
> With this tiny patch, junitreport will merge the properties file generated
> by the xmlproperties task with the testsuites. The resulting XML may
> be processed with a new version of junit-frames.xsl (coming soon).
>
> Sorry about the diff not being unified, but the solaris diff doesn't seem
> to support them :-/
>
> ----- Original Message -----
> From: "Ingmar Stein" <st...@xtramind.com>
> To: <an...@jakarta.apache.org>
> Sent: Wednesday, September 12, 2001 4:09 PM
> Subject: Re: JUnit writes properties for each testcase
>
> > Okay, here's task that takes a property file and writes the stored
> > properties into an XML file. If no property file is specified, it
> > uses the Ant and the system properties.

-- 
Cheers,

Pete

"You know what a dumbshit the 'average man' on the street is? Well, by
definition, half of them are even dumber than that!"
					J.R. "Bob" Dobbs

Re: [PATCH] JUnit writes properties for each testcase

Posted by Erik Hatcher <ja...@ehatchersolutions.com>.
Peter,

Have a look at Ingmar's response to this thread:

    http://www.mail-archive.com/ant-dev@jakarta.apache.org/msg09735.html

Because of the architecture of the JUnit/JUnitReport tasks and how they work
with fork="true" it won't work to separate when the properties are gathered
from when the tests are run (it works, just is not necessarily in sync with
one another).

So I'm pretty sure Ingmar gave up on this change.   Ingmar?

    Erik

----- Original Message -----
From: "Peter Donald" <do...@apache.org>
To: <an...@jakarta.apache.org>
Sent: Monday, October 01, 2001 3:23 AM
Subject: Re: [PATCH] JUnit writes properties for each testcase


> Hi,
>
> has anyone looked at this patch? It is not somethign I use so I don't know
> how useful/good/whatever it is ;)
>
> On Thu, 13 Sep 2001 00:41, Ingmar Stein wrote:
> > With this tiny patch, junitreport will merge the properties file
generated
> > by the xmlproperties task with the testsuites. The resulting XML may
> > be processed with a new version of junit-frames.xsl (coming soon).
> >
> > Sorry about the diff not being unified, but the solaris diff doesn't
seem
> > to support them :-/
> >
> > ----- Original Message -----
> > From: "Ingmar Stein" <st...@xtramind.com>
> > To: <an...@jakarta.apache.org>
> > Sent: Wednesday, September 12, 2001 4:09 PM
> > Subject: Re: JUnit writes properties for each testcase
> >
> > > Okay, here's task that takes a property file and writes the stored
> > > properties into an XML file. If no property file is specified, it
> > > uses the Ant and the system properties.
>
> --
> Cheers,
>
> Pete
>
> "You know what a dumbshit the 'average man' on the street is? Well, by
> definition, half of them are even dumber than that!"
> J.R. "Bob" Dobbs
>