If you are going to write such tests, you should also have a look at refelctions (http://code.google.com/p/reflections). It is pretty forward and very easy to use if you are looking for specific classes or annotations...

Am 17.10.2011 13:34, schrieb Ansgar Konermann:
You might want to consider PMD and Checkstyle.

Another, simpler option is to write an integration test which iterates over
your target directory and does some class filtering based on package name,
then loads the desired classes using path name transform (directory + file
name ->  package + class name) and class.forName(). Apache commons io has
some directory filtering classes IIRC.
Am 17.10.2011 13:04 schrieb "Cem Koc"<[email protected]>:


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to