Next: Acceptance Test
Up: Software Engineering Final Project
Previous: Error recovery
Unit testing focuses on verifying the smallest testable elements of your
software. This type of testing is typically applied to components
in the implementation model to verify that the control flows and the data
flows are covered by planed ahead tests.
For each testable component list here the function to be tested.
For example for component that interact with a database, your list
of unit test can include the following tests:
- Try the component on empty file.
- Try the component on database file with one record only.
- Try to open already opened file.
- Try to access non existing file.
- Try to delete / update a recored that does not exist.
- Try to delete the first and the last record.
- Try to run your system simultaneously on the same machine
by two different user.
Eliezer Kaplansky
2003-04-27