So how do you write TestCases?
Had philosophical discussion (more like disagreement) with a co-worker about the purpose, use and WAY to write TCs.
I work for a company that renders images… So let’s take a look at the very basic functionality of zoom …
For the sake of argument let’s assume I have a User Story “As a user I want to be able to zoom the image so that I can more easily look at small details.”
So as a user myself, I start thinking about my expectations on zoom…
- Zoom in
- Zoom out
- Reset
- Default zoom
- Remembering my changes
And then I multiply by the various ways I can execute on those expectations based on my knowledge of the system…
And then I multiply by the various parts of the system that could interact with the feature…
And in the end I am likely to end up with ~15 Functional TCs, maybe ~2 Regression TCs and 1 Smoke TC.
My cohort on the other hand will end with 3 total – 1 Functional, 1 Regression and 1 Smoke.
So how do you write TCs? Are you a minimalist or are you an individualist?