Download Foundations of Software Testing Learning Objectives Errors

Transcript
Testing and debugging
Testing is the process of determining if a program has any
errors.
Testing, debugging, Verification
When testing reveals an error, the process used to determine
the cause of this error and to remove it, is known as debugging.
25
© Aditya P. Mathur 2005
26
A test/debug cycle
Test plan
A test cycle is often guided by a test plan.
Example: The sort program is to be tested to meet the
requirements given earlier. Specifically, the following needs to
be done.
• 
No
© Aditya P. Mathur 2005
Execute sort on at least two input sequences, one
with ``A'' and the other with ``D'' as request
characters.
Yes
27
© Aditya P. Mathur 2005
28
7