db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Waagan <Kristian.Waa...@Sun.COM>
Subject Re: Test Harness useprocess=false question
Date Sun, 18 Dec 2005 22:18:12 GMT
Daniel John Debrunner wrote:

>John Embretsen wrote:
>
>  
>
>>Myrna van Lunteren wrote:
>>    
>>
>
>  
>
>>>I'm wondering if this wouldn't be a nice thing to have after all...? A
>>>washwombat() method? 
>>>      
>>>
>>Absolutely, I was wondering whether such a method existed somewhere
>>already myself, until I saw the e-mail you referred to.
>>
>>    
>>
>>>I'm imagining it to be tricky though, 'd have to cycle through
>>>metadata calls and loop to remove views and triggers etc before
>>>tables... and ensuring no attempts at removing system stuff are
>>>made... Anyone any thoughts on this?
>>>      
>>>
>
>I think I've seen an extension to Junit called something like DBUnit
>that has this functionality, to clean up databases between Junit tests.
>I'm not sure what licence it is under, but it may be another reason to
>spend move effort on moving to Junit.
>
>Dan.
>  
>
Just for the record, DBUnit is distributed under the LGPL license.
For a quick description of how DBUnit can be used, have a look at 
http://dbunit.sourceforge.net/howto.html.



--
Kristian

Mime
View raw message