DBUnit
When testing code that access and modify the database, you’ll need to insert the initial data into the database, execute your code, and check if the data in the database is exactly what you expected after executing your code. To automate this kind of testing you’ll need any kind of tool that can do all [...]
JUnit
JUnit is a simple, open source framework to write and run repeatable tests. Installing JUnit 1. Download the latest version of JUnit, from junit.org. 2. Then install JUnit on your platform: Windows 1.Unzip the junit.zip distribution file to a directory referred to as %JUNIT_HOME%. 2. Add JUnit to the classpath: set CLASSPATH=%CLASSPATH%;%JUNIT_HOME%\junit.jar Unix (bash) 1.Unzip [...]