[ 
https://issues.apache.org/jira/browse/DERBY-6590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

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

    Description: 
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.



  was:
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.



> Make 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
>            Assignee: Dag H. Wanvik
>         Attachments: derby-6590-1.diff, derby-6590-2.diff
>
>
> 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.



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

Reply via email to