This books describes, quite formally, how use cases should be written. Personally, I did not like the book because of that formalism. Most of it deals with highly detailed fields you should have in your use cases, which might be required in some large scale enterprise systems where there are many QA-infected people around who actually believe that such details really help anyone. I don't, but your mileage may vary.
Nonetheless, I found some valuable information in the book.
- Stories (scrum) are de-facto use cases, but very informal ones.
- Each story should have 2 ends: the success scenario, and failure scenario. Describe both.
- Never write stories in passive form, always include WHO does WHAT. Example: "Error is being displayed" is bad, better is "Error view displays a list of all errors".
Pass/Fail test for use cases:
- Ask your user if he understands what is going on in the use case.
- Ask developers if they are able to implement a feature based on the use case.
- Actor
- Stakeholder
- Scope
- Preconditions and Guarantees (=Postconditions)
- Main Success Scenario
- Extensions (like failure scenarios, what can happen differently)

No comments:
Post a Comment