You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by Apache Wiki <wi...@apache.org> on 2006/10/16 21:34:43 UTC
[Db-derby Wiki] Update of "DerbyJUnitTesting" by DanDebrunner
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/DerbyJUnitTesting
------------------------------------------------------------------------------
`BaseTestCase` is to be used for JUnit tests not using the JDBC API.
- `BaseJDBCTestSetup` is the base class for test decorators that use JDBC.
+ `BaseJDBCTestSetup` is the base class for test decorators that use JDBC. Look at the utility methods that this class provides when writing a JDBC test that extends it. In particular, there is no need for your own test class to have a Connection field. The connection is stored in the super-class, either use `getConnection` or the utility methods such as `createStatement`.
`TestConfiguration` holds information about the test configuration/environment. It is responsible for parsing information passed along from the test harness.