Developing Test Cases From Use Cases - Updated - 19dec06
Developing Test Cases From Use Cases - Updated - 19dec06
Cases
Objective
User
User
Use Case Model
Glossary
Actors
Supplementary
Specifications
Use cases
specifications
Use Case Model – Where to use?
• Very effective elicitation technique
Describe a business process
Capture functional requirements of a system
Describe design details of a system
• Can be used throughout SDLC (should be refined)
• Identifies Who (Actors) and the What (Behavior)
• Useful for gathering behavioral aspects and documenting
functionality
• Effective where multiple types of users are involved
Use Cases – Why
Benefits of developing Use Cases
• Facilitate communication among business users, domain
experts and developers
o Provides common context at an early stage of system development
o Ensures a mutual understanding of the requirements
• Help in identifying
o Who interacts with the system
o The interfaces the system should have
Use Cases – Why (contd.)
• To validate
o All requirements have been captured
o The developments team understands the requirements
• Pre-conditions are
useful to clarify how
the sequence of
steps start.
Use Case Preconditions
Use Case :
Generating Test Cases