On 27/11/2007, Alexandru Popescu ☀ <
the.mindstorm.mailinglist@...> wrote:
>
> On Nov 27, 2007 1:28 AM, dfabulich <
dan@...> wrote:
> >
> > "Alexandru Popescu ☀" <the.mindstorm.mailinglist@...> wrote:
> > > I never found such a "standard". And imo it is a good idea as you may
> > > enhance the report by using your own information and still have the
> > > tools working. But if you go with a DTD/schema and validation then
> > > this will stop working.
> >
> > Well, I don't really want to make a strict validator. All I want to
> > do is define semantics.
> >
> > For example, when tests are marked with @Ignore, how should that be
> > represented in XML? TestNG puts a <skipped /> element... is that what
> > everybody should do? Where should the reason go? What if it's a
> > thrown SkipException?
> >
>
> I think @Ignore supports as attribute a string. Now considering that
> Java has native support for UTF-8 that "explanation/description"
> string will not always make it to an XML attribute, so I am suggesting
> a CDATA. This will also accomodate for the more advanced TestNG
> SkipException.
>
> For the rest it is just a matter on how to call the element: ignore,
> skipped, etc.
> I think I'm oke with either of the names, or if you have better ones
> please speak up.
>
> ./alex
> --
> .w( the_mindstorm )p.
> TestNG co-founder
> EclipseTestNG Creator
>
> > -Dan
> >
> >
Has anyone discussed this with the ANT devs? I think Stefan Bodewig
originally did the JUnitResultFormatter work, but IIRC Steve Loughran
may have been doing some work in there recently. Might be worth
pooling ideas.
Cheers,
James