harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [classlib] test suites
Date Sun, 22 Jan 2006 14:48:12 GMT
Geir Magnusson Jr wrote:
<<snip>>
> I wonder if it's some vestige of TDD extremos making a point.  (I was
> reading on JUnit site about AllTests, and how "early adopters" (IOW,
> "users") of JUnit who grew up w/o AllTests thought they were nuts, but
> the authors Knew Better.)

Looks like there are test collectors [1] in JUnit already, but I don't
see how they are connected to the runners.

Seems to me that it wouldn't be too hard for a test runner to use a
collector to create a test suite dynamically, with a hook that allows
for suite decoration before it is executed.

Regards,
Tim

[1]
http://junit.sourceforge.net/javadoc/junit/runner/ClassPathTestCollector.html

-- 

Tim Ellison (t.p.ellison@gmail.com)
IBM Java technology centre, UK.

Mime
View raw message