[WEBINAR] Bulletproof: How Today's Business Leaders Stay on Top

Random Testing

Definition - What does Random Testing mean?

Random testing refers to the practice of using random inputs to test software. Different kinds of random testing all rely on the same basic idea, which is that the test implementation cases are chosen on a random basis.

Techopedia explains Random Testing

Random testing is a type of black box testing in which developers are not looking at the internal code for a software product—instead, they are entering random inputs into the system to see what the results are. One common example is the use of random integers to test a software function that returns results based on those integers. These functions may include "for loops" or other algorithms for delivering a result, where a set of random test cases simulates or approximates a wider set of cases entered by theoretical users.

Other kinds of random testing may involve the use of heuristics, which guide the use of random inputs. In general, and specifically when dealing with integers or other types of variables, random testing is only as random as the set of random inputs that are used—in other words, testers often choose to use a bounded set of integers, rather than an infinite set. Specific practices for random testing get into the mechanics of what we mean by random, and how developers come up with a seemingly random set of inputs for a test.

Discussions of random testing can also revolve around the efficiency of its use. One idea is that because random testing can be done by automated systems instead of human professionals, it can have advantages over directed testing. However, directed testing can be more efficient in terms of how much testing is needed. Some developers and experts also use the term "random testing" to refer to inefficient or even incompetent testing, where directed testing is seen as a superior method.

Share this:

Connect with us

Email Newsletter

Join thousands of others with our weekly newsletter

The 4th Era of IT Infrastructure: Superconverged Systems
The 4th Era of IT Infrastructure: Superconverged Systems:
Learn the benefits and limitations of the 3 generations of IT infrastructure – siloed, converged and hyperconverged – and discover how the 4th...
Approaches and Benefits of Network Virtualization
Approaches and Benefits of Network Virtualization:
Businesses today aspire to achieve a software-defined datacenter (SDDC) to enhance business agility and reduce operational complexity. However, the...
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.