Question

  Asked: Apr 1 2008   5:25 PM GMT
  Asked by: Software Quality ATE


Different levels of test cases


Software testing, Software testing and Quality Assurance (QA), Software Quality, Testing software

Are there different levels of test cases - standardized or otherwise - with respect to the amount of requirements they cover or test? What is the relationship between of levels of test cases and test coverage?

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
+1
Click to Vote:
  •   1
  •  0



Commonly, you want to have unit tests (tests for what developers wrote, based on a feature / module), functional/acceptance tests (tests users would run to check that the features you develop match the use cases), load tests (how much volume your application can handle? / how does it perform?), usability tests (is the interface intuitive enough for your customers?).

Test coverage evaluates how much code you test through your unit tests.
One of the popular tool is Emma - a free Java code coverage tool.

Hope this answers your question,

Joelle

Joelle is right - there are levels of test cases within the development process. I think your question is more aimed at requirements coverage, though. Generally, there are similar levels of requirements coverage:
+ Unit tests (tests which are run when code is promoted from dev into 'test')
+ Integration tests (tests which prove that new code interfaces correctly with other functionality in the system)
+ System tests (test which validate end-to-end business and data flow, regardless of whether the code under test is new or legacy
+ Acceptance tests (UAT) tests which are run by the customer proving the system performs as they expected.

Generally, there can be around a one-to-one mapping of requirements to cases, or even one requirement to many cases. In UAT testing, one case can cover many requirements, though, as UAT is typically scenario-based and walks through the lifecycle of a business transaction. However, there is no formal guidance nor any formally accepted testing ratios for mapping level of requirements to level of test.

Perhaps this is an area of investigation for you - there might be value in establishing guidelines here!

John Overbaugh is testing professional with 13 years of experience. He blogs irregularly at http://thoughtsonqa.blogspot.com and is a frequent contributor and testing expert with IT Knowledge Exchange..
  • AddThis Social Bookmark Button

Browse more Questions and Answers on Development.

Looking for relevant Development Whitepapers? Visit the SearchSQLServer.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register