Professional Documents
Culture Documents
Test Techniques
Test Techniques
Black-box Testing
Equivalence Partitioning or equivalence class partitioning (ECP) is a software testing technique that
divides the input data of a software unit into partitions of equivalent data from which test cases can be
derived
Used when range of input values needs to be tested
It divides the input data of software into different equivalence data classes
4 10
3 4 5 9 10 11
Decision Table Testing
What is Decision Table Testing? Decision table testing is a software testing technique used to test system
behavior for different input combinations.
This is a systematic approach where the different input combinations and their corresponding system behavior
(Output) are captured in a tabular form
Field Value
UserName T T F F
Password T F T F
Expected Successful Incorrect Incorrect Incorrect
Result Login Password Username Username
and
Password
State Transition Testing
State Transition Testing is a black box testing technique in which changes made in input conditions
cause state changes or output changes in the Application under Test(AUT).
It is a metric, which is used to calculate and measure the number of statements in the source code which have
been executed
Using this technique we can check what the source code is expected to do and what it should not.
No of statements Executed: 6
Set2 :If A =2, B =5 Total no of statements in the source code: 7
Statement coverage =6/7*100 = 85.20 %
Decision Coverage
Decision coverage or Branch coverage is a testing method, which aims to ensure that each one of the
possible branch from each decision point is executed at least once and thereby ensuring that all reachable
code is executed
Tests 4 & 8 demonstrate that ‘kettle’ can independently affect the outcome.
Tests 6 & 8 demonstrate that ‘mug’ can independently affect the outcome.
Tests 7 & 8 demonstrate that ‘coffee’ can independently affect the outcome.