ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Weighill Smith <phil.weighill-sm...@volantis.com>
Subject Re: junit test runner enhancements
Date Tue, 12 Apr 2005 15:58:22 GMT
Steve,

I've not written any code to help here, but thought the following issue
could also be considered:

When executing a test class that has no test methods what-so-ever (e.g.
someone comments out all tests for some reason) the runner currently
barfs instead of ignoring the test class.

Phil :n.

On Tue, 2005-04-12 at 16:54 +0100, Steve Loughran wrote:
> I'm thinking of what would it take to modify JUnitTestRunner to
> 
> -skip anything that is abstract
> -skip anything that is not a test case
> 
> I know there are bugs on this; has anyone done the code to do it, and if 
> not, where should I start.
> 
> I could tweak JUnitTestRunner.run() to probe classes and then just 
> return if they werent there.
> -Should I still fire events, or just skip everything
> -Should we print everything (I say, yes, warn but continue)
> 
> -Steve
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message