Friday 17 February 2012

【Ken】Well behaved software by testing process -1

Terminology

  • Testing - Testing is the activity of finding out whether a piece of code ( a metaod, class or program) produces the intended behavior.
  • Debugging - Debugging is the attempt to pinpoint and fix the source of an error.
  • positive testing - Testing of cases that are expected to succeed.
  • negative testing - Testing of cases that are expected to fail.
  • assertion - the expression that states a condition that we expected to be true. If the condition is false, This indicates an error in the program.
  • fixture - a set of objects in a defined state that serves as a basis for unit tests.
  • walkthrough - working trough a segment of codeline by line, while observing changes of state and other behavior of the application.

No comments:

Post a Comment