Consider the following state diagram for a simple ATM.
The decision has been made to add the following capabilities:
Allow the customer to go from Get Balance to Deposit, Withdrawal or Menu.
Allow the customer to go from Deposit to Withdrawal, Get Balance or Menu
From Withdrawal the customer still will be able to go only to Menu.
How many test cases are required to achieve 100% 0-switch coverage of the new and existing capabilities?
A 0-switch test case is a test case that covers one transition from one state to another. To achieve 100% 0-switch coverage, all the transitions in the state diagram must be tested. The state diagram has seven states: Login, Menu, Logout, Withdraw, Deposit, Get Balance, and Access Account. There are 13 transitions in the state diagram, as shown by the arrows. Therefore, 13 0-switch test cases are needed.Reference=
ISTQB Certified Tester Advanced Level Syllabus Technical Test Analyst1, page 2
How to Design Test Cases Using State Transition Testing Technique?2, section ''0-switch coverage''
State Transition Testing - Tutorialspoint3, section ''State Transition Diagram''
Margurite
3 months agoChauncey
2 months agoEun
2 months agoShanda
2 months agoDarrin
2 months agoMartin
3 months agoMatthew
3 months agoVenita
2 months agoElli
3 months agoJeff
3 months agoPearly
3 months agoJeff
3 months agoPearly
4 months agoLacresha
4 months agoShelton
2 months agoIzetta
2 months agoBarney
3 months agoCecily
3 months ago