Wednesday, 3 October 2012

What is Random Testing?


Random Testing

 
 Random Testing uses a model of the input domain of the component that defines the set of all possible input values.  The input distribution (normal, uniform, etc.) to be used in the generation of random input values shall be based on the expected operational distribution of inputs.  Where no knowledge of this operational distribution is available then a uniform input distribution shall be used.

Test cases shall be chosen randomly from the input domain of the component according to the input distribution.

A test case shall comprise the following:

-     the input(s) to the component
 
-     the expected outcome of the test case.

The input distribution used for the test case suite shall also be recorded.
 

2 comments:

  1. I found some cool exam papers for ISEB Software Testing which has all the questions and answers and full explanation for Random Testing @ www.iseb-sofwaretesting.weebly.com

    Randy

    ReplyDelete
  2. "Random testing is a form of functional testing that is useful when the time needed to write&run directed tests is too long (or the complexity of the problem makes it impossible to test every combination). Release criteria may include a statement about the amount of random testing that is required. For example, we have a requirement that there should be no random failures for 2 weeks prior to release (that is 2 weeks of continuous random testing on 50 workstations)."

    Source: http://c2.com/cgi/wiki?RandomTesting

    ReplyDelete