Chapter 4 Flashcards
Describe black box testing.
This is testing that concentrates on inputs and outputs of the test object without reference to the internal structure. It is applicable to functional and non-functional testing.
List some black-box testing techniques.
Equivalence partitioning Boundary Value Analysis Decision Table Testing State Transition Testing Use Case Testing
List some white-box testing techniques.
Statement Testing
Decision Testing
List some experience-based testing techniques.
Error guessing
Exploratory testing
Checklist-based testing
How is coverage measured for Boundary Value Analysis?
The number of boundary values tested divided by total boundary test values.
What is another name for black-box techniques?
Specification-based techniques
What is another name for white-box techniques?
Structure-based techniques
How is coverage measured for Boundary Value Analysis?
The number of boundary values tested divided by total boundary test values.
What is statement testing?
This is a structure based technique that exercises potential executable statements and the code.
What is decision testing?
This is a structure based technique that exercises code decisions and tests the code that is executed by decision outcomes
How is coverage measured for statement testing?
The number of statements executed by the test divided by the total number of executable statements.
How is coverage measured for decision testing?
The number of decision outcomes executed by the test divided by the total number of decision outcomes.
How can we ensure 100% statement coverage?
100% decision coverage.
How can we ensure 100% statement coverage?
By ensuring 100% decision coverage.
Name 2 white box testing techniques.
Statement testing
Decision testing