Subscribe by Email


Friday, June 29, 2012

Give short description on random software testing techniques?


Random testing is usually not followed because of its bad record as the case of worst program testing. But still it founds use in some of the software testing projects in the field. Though it has got a bad record, it is not always viewed as a foul case of software testing. 

What are in demand are the software testing methodologies that take in to consideration the structure of the software system or application that is to be tested. Path testing, partition testing etc were some of the resultant techniques that grew out of such demands. 

Is Random Testing Effective?


- After a rigorous research, simulation results were presented in which it was observed that it is not always that random testing is bad for testing, but sometimes it proves to be quite cost effective.
- Apart from the simulation results, the actual results of the random testing experiments were presented in which it was confirmed that the random testing is indeed a quite useful validation tool. 
- The random testing has been categorized under the black box testing techniques which involve the testing of the software system or application with an arbitrary sub set of all the possible input values. 

In this article we are going to discuss about the different techniques that can be used to carry out effective random testing. For random testing, the software testing strategies that take in to account the structure of the software system or application are usually preferred. 
Such two testing strategies are namely:
  1. Path testing and
  2. Partition testing

Random Software Testing Techniques


- Path testing is considered to be an instance of the partition testing and is hence usually deployed for the structural testing. 
- On the other hand, the partition test is usually used for random testing that works with any testing scheme which involves the forced execution of few test cases from the sub sets of a partitions of a domain from where input is supplied. 
- Simulation results as well as the results of actual random testing were presented and it was concluded from them that the random testing is quite an effective and need not always be a bad case.
- The actual random testing experiments results declared the random testing as a viable tool for validation testing. 
- Another technique for random testing is the simple black box random input testing.
- It is considered to be a crude technique that effectively locates most of the bugs in real time software systems and applications. 
- In this technique the software system or application is subjected to two kinds of input: With these simple parameters any application can be subjected to random testing. 
  1. Streams of valid mouse and key board events
  2. Streams of valid Win32 messages.

Goals of Random Testing Techniques


- Using the random testing techniques the command line applications could be crashed or hung. - The basic goal of any random testing technique is to stress the software system or application program. 
- In random testing you are required to simulate the user input in the testing environment.
Firstly, the random user input is delivered to the software system or applications by putting this random input into the main communication stream between the server and the application. 
In the case of first type of input data, complete random data was sent to the software systems since it provides an insight in to the level of robustness and testing of the software system. 
- Any failure can be encountered during the normal use of the software system. 


No comments:

Facebook activity