You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Daniel John Debrunner (JIRA)" <ji...@apache.org> on 2007/01/15 18:15:27 UTC

[jira] Closed: (DERBY-1557) Add a JUnit test decorator that creates a database at setUp and removes it at tearDown.

     [ https://issues.apache.org/jira/browse/DERBY-1557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel John Debrunner closed DERBY-1557.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.3.0.0

I think this can be closed as these decorators exist

TestConfiguration.singleUseDatabaseDecorator() returns a decorator that creates a database at setup and removes it at tearDown. It's used to provide a unique database for a set of tests.

CleanDatabaseTestSetup() is a decorator that cleans the default database (current database) at setup and tearDown, removing all user created objects.

> Add a JUnit test decorator that creates a database at setUp and removes it at tearDown.
> ---------------------------------------------------------------------------------------
>
>                 Key: DERBY-1557
>                 URL: https://issues.apache.org/jira/browse/DERBY-1557
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>            Reporter: Daniel John Debrunner
>             Fix For: 10.3.0.0
>
>
> Could be the outer level decorator for top-level suites.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira