db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-3255) Defer installation of TestConfiguration in junit tests until tests are run to avoid suite setup methods using configuration information.
Date Wed, 05 Dec 2007 16:16:44 GMT
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.


Mime
View raw message