Database Applications White Papers
A Unit-Test Framework for Database Applications
Overview The outcome of a test of an application that stores data in a database naturally depends on the state of the database. It is therefore important that test developers are able to set up and tear down database states in a simple and efficient manner. In existing unit-test frameworks, setting up and tearing down such test fixtures is labor intensive and often requires copy-and-paste of code. This paper presents an extension to existing unit-test frameworks that allows unit tests to reuse data inserted by other unit tests in a very structured fashion. With this approach, the test fixture for each unit test can be minimized. In addition, the reuse between unit tests can speed up the execution of test suites.
| Publisher | Aalborg University | File Format | |
|---|---|---|---|
| Date Published | May 2006 | Downloads | 100 |
| Format | White Papers | ||
| Topics | |||



