db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junjie Peng" <pjj.c...@gmail.com>
Subject Re: [jira] Commented: (DERBY-3724) Converting big.sql to JUnit
Date Fri, 20 Jun 2008 02:39:46 GMT
   Thank you, bryna! Good advice! I got it!

   Regards
   Junjie

2008/6/20 Bryan Pendleton <bpendleton@amberpoint.com>:

>   ----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