ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <>
Subject Re: "No runnable method" exception during junit task with SVN HEAD and JUnit 4.
Date Thu, 23 Mar 2006 14:26:26 GMT
> The junit4 class doesn't know or care if there is a 'static Test suite()'
> method on the class.  It looks for Annotations, and then falls back on
> pattern matching method names.  It seems that the suite() method has always
> been an Ant thing.

I beg to differ. Honoring suite() methods has been supported for a
long time in JUnit's own TestRunners, and even though these were not
part of the "main" package, I've always considered them part of JUnit

So JUnit4 not supporting them sounds like a regression to me. --DD

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message