[ 
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: 10.5.0.0
>            Reporter: Tiago R. Espinha
>            Priority: Minor
>             Fix For: 10.5.0.0
>
>
> 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.

Reply via email to