View this PageEdit this Page (locked)Attachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide
Hotspots: Admin Pages | Turn-in Site |
Current Links: Cases Final Project Summer 2007

Discussion 5 - Eric Amy

Name 3 general conditions to think about to write good test cases when unit testing.

  1. Normal operating values
  2. "Edge" conditions - the extremes of the normal operating values
  3. Unexpected values - values that don't make sense, or weren't planned for.

Also:
values that cause overflow, or large amounts of memory to be allocated,
causing a divide by zero or other obvious exception that should be handled

Links to this Page