Hi,
Peter Niederwieser just pointed out an interesting new library to me:
http://code.google.com/p/reflections/
It allows for scanning classpath and doing queries like:
* get all subtypes of some type
* get all types annotated with some annotation
* get all types annotated with some annotation, including
annotation parameters matching
* get all methods annotated with some
This sounds like a perfect tool for checking out which classes to
execute as tests (for Junit 3.8/4.x and TestNG). That would be a much
nicer mechanism than using excludes/includes (of course we would still
offer includes/excludes for customization).
- Hans
--
Hans Dockter
Gradle Project lead
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email