Monday 14 January 2019

What is State Testing?

It is also called as Graph based Testing. A software state is a  condition where the software is currently in.
The first step  to perform State Testing  is to  create a State Transition Map.It is a map similar to data flow diagram which represents the various states that the software can be in.

The sample State Transition Diagram for ATM card is as shown in below diagram.



A State Transition Map represents the following:
 -Each unique state of software.
 -Input that takes the software from one state to other.
 -Output produced when state is exited.
To reduce the number of possible large set of test cases into a manageable one follow the steps below:
  - Visit each state atleast once.
  - Test most common paths.
  - Test least common paths.
  - Test random states.
  - Test different error states.

No comments:

Post a Comment