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)" <de...@db.apache.org> on 2006/08/11 21:21:15 UTC

[jira] Commented: (DERBY-1556) Add a utility JUnit test decorator that drops all SQL objects in its tearDown method.

    [ http://issues.apache.org/jira/browse/DERBY-1556?page=comments#action_12427596 ] 
            
Daniel John Debrunner commented on DERBY-1556:
----------------------------------------------

CleanDatabaseTestSetup now exists but more work is needed to handle dropping functions, synonyms and handling dependencies between objects.

org.apache.derbyTesting.functionTests.util.CleanDatabaseTestSetup

> Add a utility JUnit test decorator that drops all SQL objects in its tearDown method.
> -------------------------------------------------------------------------------------
>
>                 Key: DERBY-1556
>                 URL: http://issues.apache.org/jira/browse/DERBY-1556
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>            Reporter: Daniel John Debrunner
>
> Idea is to drop objects based upon input from DatabaseMetaData or Derby system catalogs where the meta data is insufficient.
> Would allow Junit tests to share databases.
> Can be incrementally developed and used, e.g. first step drop all views. Then tables etc. etc.

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