[
https://issues.apache.org/jira/browse/DERBY-3050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bryan Pendleton updated DERBY-3050:
-----------------------------------
Attachment: convertToJunit.diff
Thanks Dan!
Updating the test to use CleanDatabaseTestSetup has the
added benefit that the test now runs in 9 seconds, where it
was taking close to a minute before. Very nice.
In addition to using CleanDatabaseTestSetup, I also made
the Statement and ResultSet variables local to the test case.
> Convert groupBy.sql tests to JUnit and include them in GroupByTest.java
> -----------------------------------------------------------------------
>
> Key: DERBY-3050
> URL: https://issues.apache.org/jira/browse/DERBY-3050
> Project: Derby
> Issue Type: Sub-task
> Components: Test
> Affects Versions: 10.4.0.0
> Reporter: Bryan Pendleton
> Assignee: Bryan Pendleton
> Priority: Minor
> Attachments: convertToJunit.diff, convertToJunit.diff,
> convertToJUnit.diff, convertToJUnit.stat
>
>
> There are currently 3 sets of GROUP BY tests:
> - GroupByExpressionTest.java
> - GroupByTest.java
> - groupBy.sql
> The first two tests are JUnit tests; the groupBy.sql tests are old-style
> harness tests,
> although they are now run in the JUnit framework using the LangScripts
> technique.
> This sub-task proposes to convert the groupBy.sql tests to JUnit tests, and
> to include
> them directly into GroupByTest.java.
> The DERBY-2151 conversion tool can be used to assist in the conversion
> process.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.