What is random testing?

Questions by surekha   answers by surekha

Showing Answers 1 - 36 of 36 Answers

vinodlimbone2001

  • Nov 23rd, 2005
 

random testing  is an big-bang approach

  Was this answer useful?  Yes

j.k.patra

  • Apr 4th, 2006
 

Random testing is also adhoc testing.So the tester can give the out of coverage data and check the stability of the application wheather the system perform smoothly or not.

  Was this answer useful?  Yes

rashi

  • Nov 2nd, 2007
 

Random testing is also known as Gorilla testing . In it we don't test the application sequentially, we just take the modules/fields randomly & perform testing whether it's functioning properly.

yashb

  • Jan 13th, 2010
 

Random testing is a form of class level testing.  In this we generate random sequences of operations and then test each sequence.  For example if there are 4 operations A() B() C() D(). We generate test sequences as

A() B() C() D()
A() C() D()
C() A()
... etc.

  Was this answer useful?  Yes

asbat

  • Nov 25th, 2010
 

Random testing is a black box technique in which software is tested is by passing random data and comparing the output of the system against specifications or expected results.


For Example:

suppose intNumber is an integer variable whose value can be -1000 to 1000 and it is used in a statement like

x = intNumber + 1;

So here in random testing we will take random 10 points (10 is not constant you can test as many as you want) from -1000 to +1000 and will give it to the statement.
let say we select -1000, 300, 10, 200, -450, -1, 0, 301, 33, -9 so these values will be given to the above statement (offcourse this can be a program with multiple values) and results obtained will be analysed.
 

  Was this answer useful?  Yes

tamil

  • Aug 2nd, 2011
 

a random testing is a ad hoc testing

  Was this answer useful?  Yes

When there is no time to test the entire project with each and every type of testing, we will go ahead and do the testing for the main modules of the project randomly is called random testing...off course this is a black box testing....i guess random and ad hoc testing were different,

  Was this answer useful?  Yes

Hi,

In Random Testing there are a set of test cases from where certain test cases are selected randomly by using certain random generation algorithm. Thats why the name Random Testing.

It can be used for testing certain non-functional attributes of testing.

Thanks

  Was this answer useful?  Yes

Dillip Palai

  • Apr 3rd, 2012
 

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).

One of the big issues of random testing is to know when a test fails. As with all testing, an oracle is needed. You could rely in assertions in the code as your sole oracle (i.e. you throw random inputs at the code, possibly from multiple threads, and if no GPF happens in 2 weeks then you assume its OK). In other situations, common with hardware development, you have two different implementations of the same specification (one is the golden model, the other is the implementation. If they both agree to a defined accuracy then the test passes.

When doing random testing you must, of course, ensure that your tests are sufficiently random, and that they cover the spec. Repeating the same test for 2 weeks doesn't tell you anything.

It is often claimed, correctly, that random testing is less efficient than directed testing. But you must consider the time needed to write a random test generator vs the time to write a set of directed tests (or generators). Once you have a random test generator, you computer(s) can work 24 hours a day generating new tests.

  Was this answer useful?  Yes

Manivannan

  • Jul 13th, 2012
 

Random Testing just like monkey testing because we don't want to test sequentially and we don't to follow any document.

  Was this answer useful?  Yes

shazia

  • Nov 25th, 2014
 

this answer really clear my concepts about random testing...especially the way of explaining with example is quite informative.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions