ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Weigenand <Dirk.Weigen...@oracle.com>
Subject Re: [PATCH] JUnitTestRunner.java modification
Date Fri, 10 Nov 2000 11:21:20 GMT
Hello Julian,

"Julian M. Savage" wrote:
> 

> 
> With this in place, I can derive from BaseTestCase, and implement test(),
> and be sure that this is the only method which will be called. I need
> because of the way in which our tests were implemented before we had heard
> of JUnit.
> 
> At least, I think I need it. If anyone can point me to a way to implement
> the above without requiring the patch given below, please let me know.
> 

If i understand you correctly you want to invoke only one method per class.
JUnit
looks in the test class for public void methods whose name starts with 'test'.
If you make sure that there is only one such method in your test classes it
will
the only one to be called.

regards,
	Dirk
-- 
Daddy, what does "format disk c: complete" mean?
Who is General Failure and why is he reading my disk?
Mime
View raw message