Testing Flashcards
What can testing demonstrate?
The presence of errors
Testing cannot demonstrate the absence of errors.
What is systematic testing?
Testing that is planned and documented.
What is comprehensive testing?
Testing that covers every aspect of the software.
What is a test plan?
A set of test data created to systematically and comprehensively test software.
When is much of the test plan created?
During the design stage of the software development process.
What does a test plan include?
- Software specification
- Schedule for testing
- Details of what is and is not to be tested
- Test data and expected results
- Documentation of the testing process
What are syntax errors?
Errors spotted by a translator, compiler, or interpreter due to incorrect code structure.
What is an execution error?
An error that causes the program to stop running (crash).
What is a logic (semantic) error?
Code that is grammatically correct but does not perform as intended by the programmer.
What is debugging?
The process of finding and correcting errors in code.
What is a dry run?
A manual run through pseudocode or the source code of the program.
What is a breakpoint?
A set point in a program where execution stops to examine variable values.
What is a watchpoint?
A condition where a program halts when a variable reaches a specific value.
Fill in the blank: A _______ is a set of test data to ensure software meets specifications.
test plan
True or False: A logic error can be identified by a compiler.
False
What types of test data should a test plan include?
- Normal
- Extreme
- Exceptional
What happens if errors are discovered during the testing stage?
The implementation stage needs to be re-visited to correct them.
What is the primary goal of testing?
To demonstrate the presence of errors.
How can logical errors be found?
By running the program and monitoring its operation.