Next: HTTPUnit and/or HTMLUnit testing
Up: Test scenarios
Previous: JUnit tests scenarios
The purpose of this test is to check the state of the database
before and after the backup. The test is performed using
external tool (Dbunit).
Input data: database image before and after backup
Output: true if images are identical
- Export a database to a xml file (Dbunit)
- Dump the same database to our format type file
- Restore database by means of the file created by dump method
- Export the restored database to a new xml file (Dbunit)
- Compare those two xml files (Dbunit) and make sure they are identical
Wiktor Kolodziej
2006-01-12