Random Testing in Software Testing
- It is a type of functional testing and it is beneficial when the time needed to write & run directed tests is too long.
- It is also known as Monkey Testing.
- There is no specific approach to perform the Monkey Testing because it is an ad-hoc way of software testing
- In Random Testing a tester or a developer can test the system to confirm whether it performs the desired set of actions.
Reason to use Random Testing:
- Easily estimating software reliability from test outcomes.
- Test inputs are randomly generated according to an operational profile, and failure times can be recorded
- Use of random test inputs may save some of the time and effort.
Characteristics of random testing:
- It is performed where bugs in a software
- Application is not identified by the regular intervals.
- Random input is used to test the system performance and its reliability.
- Saves time and effort than actual tests.
- Automatic generation of random input data can be used, allowing many more test cases to be executed
- Can generate good results by using the correct algorithm.
Some drawbacks of Monkey Testing:
- They are not realistic
- Many of the tests are redundant
- You will spend more time analysing results
- There is no measure of risk