Calendar:QA TestCase Writing Day: Difference between revisions

Jump to navigation Jump to search
Line 45: Line 45:
* Pretend you're writing a bug - it's pretty much the same
* Pretend you're writing a bug - it's pretty much the same
* Assume that the person following your test case only has basic familiarity with the product. For example:
* Assume that the person following your test case only has basic familiarity with the product. For example:
** ''Bring up the New Calendar Wizard'' - This is not that good.
** ''"Bring up the New Calendar Wizard"'' - This is too vague.
** ''Launch the New Calendar Dialog (by either double clicking calendar list, File->New Calendar or right clicking calendar list).'' - This is much better.
** ''"Launch the New Calendar Dialog (by either double clicking calendar list, File->New Calendar or right clicking calendar list)."'' - This is much better.
* Be fairly specific with the expected results
* Be fairly specific with the expected results
** ''It worked''  - This is very bad
** ''"It worked"''  - Once again, too vague.
** ''The event was created on the proper day; The event had the proper color'' - This is very good
** ''"The event was created on the proper day; The event had the proper color"'' - This is great.
* Keep list of steps and expected results as simple as possible.
* Keep list of steps and expected results as simple as possible.
* You don't need to detail every click unless it's an important part of the testcase.
* You don't need to detail every click unless it's an important part of the testcase.
** ''Click on the name text box; enter a name. Click on Color drop down, pick red.''-- This is a little much
** ''Click on the name text box; enter a name. Click on Color drop down, pick red.''-- This is a little much
** ''Give the calendar a name, assign it a color.'' --This is much better.
** ''Give the calendar a name, assign it a color.'' --This is much better.
Confirmed users
3,816

edits

Navigation menu