db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-3653) Convert datetime.sql to JUnit
Date Sun, 10 Aug 2008 17:25:44 GMT

    [ https://issues.apache.org/jira/browse/DERBY-3653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621283#action_12621283

Kathey Marsden commented on DERBY-3653:

Hi Junjie,

With SQLToJunit the program evaluates the canon files and makes a junit test using assertions.
 For this test you would want to run SQLToJUnit against the datetime.tmp file created when
you run the test, rather than the datetime.out file in the master directory as the .out file
has filtered timestamps.  The SQLToJUnit program can save you a lot of time converting a sql
test to JUnit but usually there is some manual work that needs to be done after running it,
such as breaking up the test into multiple fixtures.

> Convert datetime.sql to JUnit
> -----------------------------
>                 Key: DERBY-3653
>                 URL: https://issues.apache.org/jira/browse/DERBY-3653
>             Project: Derby
>          Issue Type: Task
>          Components: Test
>    Affects Versions:
>            Reporter: Tiago R. Espinha
>            Priority: Minor
>             Fix For:
> Converting the existing SQL test to JUnit, using the SQLToJunit tool.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message