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/12/05 17:16:44 UTC

[jira] Created: (DERBY-3255) Defer installation of TestConfiguration in junit tests until tests are run to avoid suite setup methods using configuration information.

Defer installation of TestConfiguration in junit tests until tests are run to avoid suite setup methods using configuration information.
----------------------------------------------------------------------------------------------------------------------------------------

                 Key: DERBY-3255
                 URL: https://issues.apache.org/jira/browse/DERBY-3255
             Project: Derby
          Issue Type: Improvement
          Components: Test
            Reporter: Daniel John Debrunner


Dyre Tjeldvoll wrote:

> Is there a way of making the usingX predicates throw an exception or
> something when they are invoked outside a proper test case? Ideally
> there would be a way of rejecting such usage at compile time...

in referring to code like this:

        suite.addTestSuite(ProcedureTest.class);
>         if (!usingDerbyNet()) {
>             suite.addTest
>                 (new ProcedureTest
>                  ("xtestExecuteUpdateWithNoDynamicResultSets"));



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.