Professional Documents
Culture Documents
Another point of quality for test cases is how it's written. I generally require my teams to
write cases which contain the following (and I'm fine with letting them write 'titles only'
and returning to flesh out later; as a matter of fact, one-time projects I generally shy
away from much more than that).
• Has a title which does NOT include 'path info' (ie, Setup:Windows:Installer
recognizes missing Windows Installer 3.x and auto-installs). Keep the title short,
sweet, and to the point.
• Purpose: think of this as a mission statement. The first line of the description
field explains the goal of the test case, if it's different from the title or needs to be
expanded.
• Justification: this is also generally included in the title or purpose, but I want
each of my testers to explain why we would be spending $100, $500, or more to
run this test case. Why does it matter? If they can't justify it, should they
prioritize it?
• One (or more - another topic for a blog someday) clear, recognizable validation
points. IE, "VALIDATION: Windows begins installing the Windows Installer v
3.1" It pretty much has to be binary; leave it to management to decide what's a
gray area (ie, if a site is supposed to handle 1,000 sessions per hour, it's binary -
the site handles that, or not. Management decides whether or not 750 sessions
per hour is acceptable)
I read the response that a good case is one that has a high probability of finding a bug.
Well... I see what the author is getting at, but I disagree with the statement if read at
face-value. That implies a tester would 'filter' her case writing, probing more into a
developer's areas of weakness. That's not helpful. Hopefully your cases will cover the
project enough that all the important bugs will be exposed, but there's no guarantee. I
think the middle ground is appropriate here - a good case 1) validates required
functionality (proves the app does what it should) and 2) probes areas where, if a bug is
found, the bug would be fixed (in a minimal QA environment) or (in a deeper quality
environment) advances produce quality significantly.
BTW: one respondent to the question replied and said a good test case is one which
brings you closer to your goal. Succinct!
http://thoughtsonqa.blogspot.com/2008/01/what-makes-good-test-case.html