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.

Reply via email to