QuestionQ78

VerifiedFundamental Agile Testing Principles, Practices, and Processes

An Agile team is working on a project to develop a Pay-TV company web customer portal that lets customers, using a smartcard and a set-top box, purchase digital content. Assume that, at the end of the third iteration, PayPal and credit card are the only permitted payment methods and that the capability to charge credit on the smartcard has already been implemented.

The following user story has been selected for the project’s fourth iteration:

> “As an owner of the e-commerce website, I want a customer to be able to pay for the items in his/her shopping cart by using the credit charged on the smartcard, so that I can increase the customer base by allowing customers to have more payment options”

Based only on the information provided, which of the following would be expected to describe valid and relevant acceptance tests for this user story?

Explanation

Paying with smartcard credit requires sufficient available credit to cover the cart total. A payment attempt when no credit has been charged to the smartcard must therefore be unsuccessful. A successful insufficient-credit payment contradicts that requirement, a five-percent discount is not specified, and expired credit-card validation is unrelated to the smartcard-credit payment feature.

Community Discussion

No comments yet. Be the first to start the discussion!