db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendleton.de...@gmail.com>
Subject Re: cleaning database between test cases
Date Thu, 18 Mar 2010 14:26:35 GMT
> For testing, how can I make sure the tearDown completely deletes the
> db, and setUp creates a completely new copy, without using in-memory
> db?

We do this in the Derby regression test suite.

Have a look at org.apache.derbyTesting.functionTests.junit.CleanDatabaseTestSetup.java



View raw message