db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@apache.org>
Subject Re: [jira] Created: (DERBY-1976) Add new utility methods to BaseJDBCTestCase to make conversion of ij tests to JUnit easier.
Date Tue, 17 Oct 2006 22:56:46 GMT
A B (JIRA) wrote:

> 
> As part of my work for DERBY-1758 I'm trying to convert the SQL test lang/xml_general.sql
into a JUnit test.  

[snip set of good utility methods]

Just to note, .sql tests can be converted with very little effort by 
using the ScriptTestCase utility class, see LangScripts for an example 
of its use in language tests.

If the SQL script has multiple masters or needs its output sed'ed then a 
pure Junit test is probably better. I'm planning to write this up on the 
wiki soon.

Dan.


Mime
View raw message