On Tue, Jan 15, 2002 at 11:14:58AM -0500, Tavin Cole wrote:
> On Tue, Jan 15, 2002 at 04:08:29PM +0100, Niklas Mehner wrote:
< > 
> > The reason for this is the SimpleTestRunner, which is not included in 
> > junit, but used in the main() method of the tests.
> > Probably it would be easiest to remove the main() method in the tests.
> > (the only difference would be typing "./test classname" instead of "java 
> > classname" (for most tests)).
> 
> Don't remove the main() method from the tests.  That's just a
> convenience and it's NOT the standard way of running tests.  So just run
> the tests the standard way..

If it keeps the classes from building with standard Junit then it
definitely should go - I never intended any imports from outside the
junit.framework package. If you want convenience just do:

alias jtest="java junit.xrunners.SimpleTestRunner"

-- 

Oskar Sandberg
oskar at freenetproject.org

_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to