Heuristics Testing

Why Trust Techopedia

What Does Heuristics Testing Mean?

Heuristics testing is the testing of algorithms, code modules or other kinds of projects where testing strategies rely on past data about probabilities. These targeted types of testing often allow for more intelligent investigation of where any bugs or problems may occur. Heuristics testing is also used in screening technologies such as email filtering.

Advertisements

Heuristics testing is also sometimes called experience-based testing. Developers or others may bring higher-level, experience-based decision making processes into how software testing is done in order to make this testing more efficient.

Techopedia Explains Heuristics Testing

Heuristics testing is comparable to an educated guess, as opposed purely quantitative software testing that operates relatively blindly, without any higher-level direction. For example, suppose that a developer has to test a project with 10,000 lines of code. Pursuing a generic linear test of those 10,000 lines would constitute purely quantitatve software testing. Heuristics testing, on the other hand, would involve looking at how commonly errors occur in certain parts of code. Using this example, if the developer looks at historical data to realize that a particular code module has been relatively more error-prone in the past, a heuristics testing strategy could involve isolating that module, including, for example, a particular 2,000 lines of code, and directing more testing resources at that section of code, rather than testing all 10,000 lines of code equally.

Heuristics testing involves the philosophy that developers can learn from experience or from non-random tendencies that occur over time. In some cases, heuristics testing can be vastly more effective in solving problems than blind testing.

Advertisements

Related Terms

Margaret Rouse
Technology Specialist
Margaret Rouse
Technology Specialist

Margaret is an award-winning writer and educator known for her ability to explain complex technical topics to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles in the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret’s idea of ​​a fun day is to help IT and business professionals to learn to speak each other’s highly specialized languages.