ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Medinets" <>
Subject FYI - Code to automatically add Test classes to a TestSuite.
Date Fri, 14 Dec 2001 15:04:34 GMT
This note is for users of the Ant build tool. I've modified an AllTests
class to automatically add Test classes to a TestSuite by recursively
checking a directory hierarchy for classes with "test" or "Test" in their

Contrary to suggestions, I like having all of my testing code in one
directory hierachy instead of spread throughout the codebase. However, my
Test class finder works with both methods. For the central approach the top
of the hierarchy is "com.cordiem.tests" (actually, your equivalent). For the
distribed approach use "com.cordiem" as the root of the hierarchy.

The url for the code is:

Please let me know if anything was unclear or if there was a better

David Medinets, Consultant,

PS - if someone is on the JUnit mailing list, feel free to cross-post.

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

View raw message