harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [classlib] junit4 @Ignore and reporting (was svn commit: r883478...)
Date Tue, 24 Nov 2009 08:58:50 GMT
On 24/Nov/2009 08:06, Mark Hindess wrote:
> In message <3b3f27c60911231801u53053331wa9b9ab0e8222f715@mail.gmail.com>,
> Nathan Beyer writes:
>> I'd love to see the exclude files dropped in favor of JUnit @Ignore +
>> reporting for those ignored tests. That would be extremely helpful in
>> pointing out all of the excluded tests.
> 
> +1 provided we can record details of why the test is ignored.

Just pass a string in the annotation constructor,
e.g. @Ignore("It's the wrong colour")

> We'll also need a mechanism to support the os/vm combinations the
> exclude lists support too though. Any ideas?

I guess it will require some (modest) extensions to the test framework.
 Maybe some combination of our own annotations and
org.junit.runner.manipulation.Filter ?

Regards,
Tim

Mime
View raw message