Professional Documents
Culture Documents
Ses7 - Test Techniques & BBT Techniques
Ses7 - Test Techniques & BBT Techniques
Test Techniques
• Test Techniques
Testing
Dynamic
Static
Dynamic
analysis
Black-box
White-box
Experience
based
Checklist
Error Guessing
Exploratory Testing
Definition:
Black-box test design technique in which test case are designed to
execute representatives from equivalence partitions.
Equivalence partition:
A portion of an input or output domain for which the behavior of a
component or system is assumed to be the same, based on the
application.
Equivalence Subset A
Set Partitioning
Subset B
Subset A
Equivalence
Set Partitioning Subset A
{}
Case 1: Valid Partition (For 3% interest) - input one or some values from
0.00 to 100.00 (e.g. 55)
Case 2: Valid Partition (For 5% interest) - input one or some values from
100.01 to 999.99 (e.g. 345.67)
Case 3: Valid Partition (For 7% interest) - input one or some values >
1000.00 (e.g. 2345)
Case 4: Invalid Partition - input one or some values < 00.00 (e.g. -0.01)
Which test inputs (in grams) would be selected using boundary value analysis?
Step2: Actions
A company wants to unify the way orders are handled:
All orders of non star-clients with bad credit should be
rejected.
If there is enough product in stock, orders should be
accepted;
otherwise order is put in waiting list
Decision table
8 columns = max number of different rules
Black-box
1. Adopt a rule for where a test procedure or test step must start
and where it may or must end. An example is to say that a test
step must start in an initial state and may only end in a final state.
2. From an allowed test starting state, define a sequence of
event/condition combinations that leads to an allowed test ending
state. For each transition that will occur, capture the expected
action that the system should take. This is the expect result.
3. As you visit each state and traverse each transition, mark it as
covered.
4. Repeat steps 2 and 3 until all states have been visited and all
transitions traversed—in other words, every node and arrow has
been marked with the marker.