Skip navigation links
Deventropy JUnit Helper :: Derby ver. 1.0-alpha.1-SNAPSHOT

Package org.deventropy.junithelper.derby

JUnit Helper Derby is a utility to allow testing JDBC related code against Apache Derby embedded instances using JUnit version 4.x.

See: Description

Package org.deventropy.junithelper.derby Description

JUnit Helper Derby is a utility to allow testing JDBC related code against Apache Derby embedded instances using JUnit version 4.x.

The library allows the user to configure an embedded Derby instance (EmbeddedDerbyResource) as an ExternalResource which can be added to a test class using the Rule or ClassRule annotation, with initialization scripts; and JUnit managing the initialization and de-initialization of the database instance.

Embedded instances can be accessed using standard JDBC connections created through the DriverManager, and convenience methods are provided to get the JDBC connection URL (see EmbeddedDerbyResource.getJdbcUrl() and EmbeddedDerbyResource.createConnection().

The runtime instance can be configured using the DerbyResourceConfig.

Specific packages provide additional functionality, org.deventropy.junithelper.derby.datasource for DataSource related functionality. org.deventropy.junithelper.derby.util has some hopefully useful utility classes.

More details are in the Project Website.

Author:
Bindul Bhowmik
Skip navigation links
Deventropy JUnit Helper :: Derby ver. 1.0-alpha.1-SNAPSHOT

Copyright © 2015-2016 Development Entropy (deventropy.org) Contributors