db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendle...@amberpoint.com>
Subject Re: [jira] Commented: (DERBY-3724) Converting big.sql to JUnit
Date Thu, 19 Jun 2008 16:54:20 GMT
>    ----Besides, I have another question:
>         Where to put unit test codes for the unit test itself?  When I 
> do this converting, I have a trouble in doing unit testing for my new 
> test case. So far, I just put the testing codes in the same class file, 
> then delete all of them before submit. It is not so smart. How should we 
> deal with this problem?

We don't generally write such code, so we don't have many patterns for this.
In general, once a unit test has been carefully reviewed and submitted,
we have automatic processes that routinely run the unit test, and if it
fails, we examine the failure.

But we generally don't have tests for the test code itself, other than
running the test routinely and examining the results.

thanks,

bryan

Mime
View raw message