Lecture 2: Use Cases, Base Testing and Domain Analysis Flashcards
What is Use Case modelling?
Model a system requirements by representing the interaction between the actor and the system
What does Use cases contain?
- System boundary
- Actors
- Use Cases
What is Pre and post conditions?
Are constraints that define what can and can’t be done
What is Actor generalisation?
If two or more actors communicate with the same set of use cases, you would generalise and to simplify the model
What is a include and extend use case?
Are base cases
What is <<include>>?</include>
Include is used when a use case shares the common behaviour
What is <<extend>>?</extend>
The extension use case inserts a new behaviour into the base use case
What does use-case testing do?
- How a user interacts with the system to ensure the system responds appropriately.
- Tests a collection of features based on the system’s use case
What is use case testing made up of?
Test cases are use case scenarios with concrete data
What are test cases NOT suppose to provide?
• Test cases MUST provide the data used in the test
What must you do after the test case?
Record observations by stating how the system has changed
What do use cases define?
- User acceptance testing
- Complying with requirements
What do test cases define?
- The data satisfies the preconditions to be tested
- Data comes from actor/tester
What are the Fundamentals of Object Orientation?
• Objects
- Encapsulation
- Messages
• Classes
What are the methods of analysis?
Verb and Noun analysis (Problem domain)
CRC (Class, Responsibilities and Collaborators)