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 "Dag H. Wanvik (JIRA)" <ji...@apache.org> on 2014/05/28 17:26:02 UTC

[jira] [Created] (DERBY-6590) Make must JUnit tests run the fixtures in a deterministic order.

Dag H. Wanvik created DERBY-6590:
------------------------------------

             Summary: Make must JUnit tests run the fixtures in a deterministic order.
                 Key: DERBY-6590
                 URL: https://issues.apache.org/jira/browse/DERBY-6590
             Project: Derby
          Issue Type: Improvement
            Reporter: Dag H. Wanvik


Since JDK 7, when we use the standard decorator for JUnit tests, e.g.

return TestConfiguration.defaultSuite(AggBuiltinTest.class);

the order in which the test fixtures get run is indeterministic. This is undesirable because it doesn't add much coverage to the product and makes the tests more brittle than they need to be.

We should use TestConfiguration#orderedSuite instead.




--
This message was sent by Atlassian JIRA
(v6.2#6252)