Tutorials for writing Use Cases (with complex, real-world examples) ?
Hi,
I'm trying to learn how to write Use Cases.
(I'm an experience code-writer, but I don't have much experience with formal product specification).
I've been reading books, tutorials, even took an academic course...
Unfortunately, they all focus on silly "toy" examples (like "Elevator" or "Withdraw money from bank" )...
I feel I'm missing a lot of info before I can apply this to complex "real world" projects !
Just to demonstrate, consider a Use Case for "withdrawing money from the bank":
The "toy" Use Cases are usually 5-10 lines. At best, they'd do some validity checks ("exceptions" table).
In the real world, a *precise* description could be 200 lines... it might involve: Communication between banks / branches; Special permission to exeed overdraft limit (it happens in my country); Moving money between saving accounts and checking accounts (which might have complex rules of its own), etc...
I was hoping to find a tutorial that could answer "real-world" questions such as:
- Should my Use Case describe all the subtle details, or should it be kept short and readable, even at the price of missing some details ?
- Are there guidelines for breaking my 200-line UC into various sub-UseCases ? What's the recommended size for such sub-UC (kind of like the way programming books recommend that java methods don't exceed 20 lines of code... just a rough estimate, but it's something to start from)
These are just examples, to demonstrate why a 10-line example doesn't prepare me to the real-world...
So, could anyone please recommend a *realistic* tutorials (books / web sites), with real-world, complex examples ?
Thanx very much

