« Return to Thread: New Test class detection broken

Re: New Test class detection broken

by Tom Eyckmans :: Rate this Message:

Reply to Author | View in Thread



2009/5/22 Steve Appling <sajakarta@...>

Tom Eyckmans wrote:
Hi Steve,

2009/5/21 Steve Appling <sajakarta@... <mailto:sajakarta@...>>


   The new JUnit test class detection doesn't handle classes that
   extend a helper class that extend TestCase.  

This should work, the only limitation here is that the test class detection doesn't scan into jar files, so if your test classes inherit from a class that is available in a jar file it will not be scanned. We do plan to add this in an upcoming release. I didn't mention this limitation in the documentation yet, so I've added it.
 
Thanks for clearing this up for me Tom.  This probably won't be much of an issue for people with a single project, but in multi-project builds, I think it may be common to have a testing library that is shared across multiple projects.  We would love to be able to use this new feature when this issues is resolved.

I've added some logic to the test class detection so it scans in jar files, it is available in trunk, if you can please give it a try.


--
Steve Appling
Automated Logic Research Team

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email



 « Return to Thread: New Test class detection broken