Contains classes that assist in unit testing using JUnit and Cactus testing.
For client side unit testing you should create a single test suite that creates
Expresso at the beginning and drops it at the end. You can then use things
like DBUnit to create/delete individual entries if needed, but the table creation
is just too long for practical testing.
The other class of import is TestSystemInitializer . It allows you to specify
a scratch database context that you can use, which, of course, is highly advisable
since the unit tests are highly destructive.
|