Ch2-6-useCases

Ch2-6-useCases - Introduction to Software Testing Chapter...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Introduction to Software Testing Chapter 2.6 Graph Coverage for Use Cases www.introsoftwaretesting.com Introduction to Software Testing (Ch 2), www.introsoftwaretesting.com 2 UML Use Cases UML use cases are often used to express software requirements They help express computer application workflow We won’t teach use cases, but show examples
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Introduction to Software Testing (Ch 2), www.introsoftwaretesting.com 3 Simple Use Case Example Actors : Humans or software components that use the software being modeled Use cases : Shown as circles or ovals Node Coverage : Try each use case once … Withdraw Funds Get Balance Transfer Funds ATM User Use Case graphs, by themselves, are not useful for testing Introduction to Software Testing (Ch 2), www.introsoftwaretesting.com 4 Elaboration Use cases are commonly elaborated (or documented ) Elaboration is first written textually Details of operation Alternatives model choices and conditions during execution
Background image of page 2
Introduction to Software Testing (Ch 2), www.introsoftwaretesting.com 5 Elaboration of ATM Use Case Use Case Name : Withdraw Funds Summary : Customer uses a valid card to withdraw funds from a valid bank account. Actor : ATM Customer Precondition : ATM is displaying the idle welcome message Description : Customer inserts an ATM Card into the ATM Card Reader. If the system can recognize the card, it reads the card number.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 6

Ch2-6-useCases - Introduction to Software Testing Chapter...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online