Use cases versus Test Cases
My company is experimenting with using Use Cases and Test Cases for documenting requirements, both function requirements and non-functional requirements. Previous, our requirements model had a Business Analyst gathering high level business requirements and a Systems Analyst creating a design document (functional level requirements) from the original and presenting it to an engineer. This was done in a linear fashion.
Going forward we are planning to use a more iterative approach and less waterfallish than mentioned above with a Srategy Analyst working upfront with a Busniess Case (feasibility, monetary impact, etc.) and the Business Analyst working in parallel with gather requirements and presenting them as gathered in Use Case and Test Case format.
What I want to hear from people is the definition of a Use Case versus the definition of a Test Case, and to what level of detail do each of them go.
For comparison sake, I will include my own interpretation. The way I understand things a Use Case is a high level scenario that describes how a user interacts with a system. These scenarios are represented by a stick man and a process box. In a Use Case there is a description, list of actors, flow of events, preconditions, post conditions and next steps. A Test Case would then be a list of Use Cases with specific details about function, design, texture and would lay out all possible scenarios for sunny days and rainy days (positive and negative outcomes).
For example, given the Scenario, Man wants money from an ATM, the following would be true:
Use Case, Man wants money from ATM
Use Case 1: Insert Card
Use Case 2: Enter PIN
Use Case 3: Choose withdraw option
Use Case 4: Take money
Use Case 5: Take receipt
Test Case 1: How to properly enter card or how to properly slide card.
Test Case 2: PIN number validation, if incorrect, fail
Test Case 3: Balance verification, if incorrect fail
This new organizational shift at my present employer has opened a great opportunity for me, and thus I would like to share my thoughts with the community and hopefully get some valuable feedback in the process.
Thanks!
Craig Cunningham
Business Analyst III


Recent comments
2 hours 26 min ago
1 day 1 hour ago
1 day 21 hours ago
5 days 11 hours ago
5 days 12 hours ago