[jboss-dev] JUnit should not attempt to instantiate/run unit test classes defined as abstract, thoughts?

Adrian Brock abrock at redhat.com
Wed Nov 21 10:38:34 EST 2007


On Wed, 2007-11-21 at 16:31 +0100, Galder Zamarreno wrote:
> <rant>
> I don't see why I should be doing it though. IMO, JUnit is wrong, not me :).
> </rant>

I think you'll find it is the ant plugin rather than junit.
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java?revision=566726&view=markup

Junit just tries to do what it's told to do.
-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx




More information about the jboss-development mailing list