Please enable JavaScript.
Coggle requires JavaScript to display documents.
Chapter 4: Test Design Techniques (Test development process (Design of…
Chapter 4: Test Design Techniques
Test development process
Design of tests:
1)
Identify test conditions:
feature to test
2)
Specify test cases
: pre-conditions (input, output, post conditions)
3)
Specify test procedures
: step by step (manual script)
Good test case:
traceable to test condition
specific values for input
specify expected result
Test procedure would collect all related test cases to be executed in a block
Test execution will gather all of the tests & order them in priority & dependencies
Test Coverage
provides quantitative measure of extent & quality of testing
BENEFIT:
1) provides measure of testing achieved
2) allows estimation of how much more testing needed
may be part of exit criteria in FTP
Categories of Test Case Design
Specification based (black box)
test cases come from spec (test basis)
does NOT define how system should work
Equivalence Partitioning
WHY
Reduces number of test cases needed (chunks similar inputs togetheR)
EXAMPLE 1:
A program accepts integer values between -1000 & +1000 = 3 equivalence partition
1 = < 0 (negative)
2 = 0
3 = > 0 (positive)
EXAMPLE 2:
valid input: integers 100-999
valid = 100 - 999
invalid = < 100, > 999, real, non numeric numbers
EXAMPLE 3:
valid input: names up to 20 chars
valid: str up to 20 chars
invalid: 0 chars, > 20 chars, numbers
Boundary Value Analysis
Decision Table Testing
State Transition Testing
Use Case Testing
Structure based (white box)
Experienced based
E B D S U