| View: | [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 ] |
| Articles |
- Control your test-environment with DbUnit and Anthill by Philippe Girolami - [Clicks: 32]
The inception of the Extreme Programming methodology has brought test-driven development and continuous integration into mainstream Java development practices. Applying these techniques to Java server-side development can quickly become a nightmare if you don't have the right tools. In this article, software developer Philippe Girolami describes how to deal with continuous integration and how to use DbUnit in conjunction with JUnit to control the test environment end-to-end by setting up the state of the database before each test.
http://www-106.ibm.com/developerworks/java/library/j-dbunit.html - Apr, 2004 - Implementing DbUtils by Harshad Oak - [Clicks: 46]
Writing good JDBC code is not difficult yet can be quite painful and repetitive. The DbUtils component is a nice, simple component that does nothing complex but just makes many JDBC tasks a shade easier for the developer. We'll show you the basics.
http://builder.com.com/5100-6370-5177731.html?tag=sc - Apr, 2004 - Effective Unit Testing with DbUnit by Andrew Glover - [Clicks: 51]
Writing unit and component tests for objects with external dependencies, such as databases or other objects, can prove arduous, as those dependencies may hinder isolation. Ultimately, effective white-box tests isolate an object by controlling outside dependencies, so as to manipulate its state or associated behavior.
http://www.onjava.com/pub/a/onjava/2004/01/21/dbunit.html - Jan, 2004