SQLUnit User Guide | ||
---|---|---|
<<< Previous | Next >>> |
SQLUnit can build up a database Connection object using JDBC if the driver, URL, user and password are supplied. Here is an example of setting up a Connection object for the SQLUnit Mock Database.
<connection connection-id="1"> <driver>net.sourceforge.sqlunit.test.mock.SQLUnitMockDriver</driver> <url>jdbc:mock:net.sourceforge.sqlunit.test.mock.SQLUnitMockDatabase</url> <user>defaultuser</user> <password>defaultuser</password> </connection> |
<<< Previous | Home | Next >>> |
Extending SQLUnit: Writing your own tag handler | JDBC Connection with properties |