Research Article
Mutation Testing Approach to Negative Testing
Box 9
An example of a mutant generated by applying operator op
.
atm = new ATM(1, 0); | | atm.getCard(); | atm.getPIN(1234); | atm.displayMenuChoice() / “check balance, withdraw cash, quit”; | atm.getMenuChoice(“withdraw cash”); | atm.enterAmount(500); | atm.confirm(); | atm.ejectCard() / “card ejected”; | atm.dispenceCash() / 500; |
|