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.

Reply via email to