db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Db-derby Wiki] Update of "KillDerbyTestHarness" by DanDebrunner
Date Tue, 16 Jan 2007 22:41:03 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The following page has been changed by DanDebrunner:
http://wiki.apache.org/db-derby/KillDerbyTestHarness

------------------------------------------------------------------------------
   * Tests/Suites can be added into other project's test suites with no additional knowledge
or requirements
  
  == Conversion or writing JUnit tests FAQ ==
+ === SQL tests ===
+ Harness based script tests (`.sql` scripts) can be converted in three ways:
+  * Continue running the test as a script using the !ScriptTestCase class, see ConvertSqlScriptTestsToJunit
+  * Look at using the utility attached to [http://issues.apache.org/jira/browse/DERBY-2151
DERBY-2151] to convert the old test automatically.
+  * Re-write the test by hand using standard JDBC calls and the utility methods and decorators
available
  === Decorators ===
  A number of useful decorators and convenience methods that return decorators exist, this
section shows which to use for certain situations.
  Remember that a decorator can wrap a set of test fixtures:

Mime
View raw message