Jump to content

Scenario testing

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 112.196.12.67 (talk) at 09:23, 18 April 2013. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

| url = http://www.kaner.com/pdfs/ScenarioIntroVer4.pdf
| accessdate = 2009-05-07
| publisher = Cem Kaner

}}</ref> These tests are usually different from test cases in that test cases are single steps whereas scenarios cover a number of steps.[1][2]

History

Kaner coined the phrase scenario test by October 2003.[3] He had already co-authored a book on software testing, lectured on the subject, and was a testing consultant. He commented that one of the most difficult aspects of testing was maintaining step-by-step test cases along with their expected results. His paper attempted to find a way to reduce the re-work of complicated written tests and incorporate the ease of use cases.[3]

A few months later, Buwalda wrote about a similar approach he had been using that he called "soap opera testing". Like television soap operas these tests were both exaggerated in activity and condensed in time.[1] The key to both approaches was to avoid step-by-step testing instructions with expected results and instead replaced them with a narrative that gave freedom to the tester while confining the scope of the test.[2]

Methods

System scenarios

In this method only those sets of realistic, user activities that cover several components in the system are used as scenario tests. Development of system scenario can be done using:[citation needed]

  1. Story lines
  2. State transitions
  3. Business verticals
  4. Implementation story from customers

Use-case and role-based scenarios

In this method the focus is on how a user uses the system with different roles and environment.[4][need quotation to verify]

See also

References

  1. ^ a b Buwalda, Hans (2004). "Soap Opera Testing" (PDF). Better Software (February 2004). Software Quality Engineering: 30–7. Retrieved 2011-11-16.
  2. ^ a b Crispin, Lisa (2009). Agile Testing: A Practical Guide for Testers and Agile Teams. Addison-Wesley. pp. 192–5. ISBN 81-317-3068-9. {{cite book}}: Unknown parameter |coauthors= ignored (|author= suggested) (help)
  3. ^ a b Cite error: The named reference Kaner-Intro was invoked but never defined (see the help page).
  4. ^ Gopalaswamy, Srinivasan Desikan. Software Testing:Principles and Practice.