Reading:
Software Testing Heuristics: Mind The Gap!
The membership for software testing professionals image
Join thousands of other software testers in levelling up their careers

Software Testing Heuristics: Mind The Gap!

Discover how to apply heuristics effectively

As with all testing methods and techniques, a deep understanding of what they are, when to apply them, and of their strengths and weaknesses, are essential to be able to use them effectively. Heuristics are no different. You can’t apply a checklist of heuristic techniques to all contexts and expect the same outcome, or for your problems to be resolved. You need to apply them knowingly, wisely and carefully. 

As a tester, you’re probably familiar with using heuristics to provide structure to create tests, to generate new test ideas and to explore the boundaries of a system, but have you heard of heuristic praxis? Praxis is what happens when testing theory is applied to testing practice; it’s the gap between theory and practice. Theory without practice is hot air. Practice without theory is hollow. The best-equipped testers are those who are well informed and work in the praxis gap.

Theory Behind Heuristics

Heuristics are simple, occur naturally in the human mind, and are used in everyday life. They’re so simple and ubiquitous that it can cause confusion. The reality is you can have a heuristic technique for almost anything and some will be unique to you.

Study Of Heuristics

In Psychology, as described in the seminal work on decision-making by Tversky and Kahneman, heuristics are:

“Principles which reduce the complex tasks of assessing probabilities and predicting values to simpler judgmental operations.” (1)

In simpler words, heuristics are cognitive shortcuts. We use them under conditions of uncertainty, often automatically without knowing using system 1 thinking, to rapidly solve problems and make decisions. When you consider the vast number of decisions people make on a daily basis, it makes a lot of sense for our brains to use shortcuts to help us quickly assess the different options available. 

An example of a heuristic which you may be able to relate to and one which we often unknowingly use is the availability heuristic:

“If an example solution can be readily recalled then it must be important or at least more important than alternative solutions which are not as readily recalled”

This example heuristic is useful for demonstrating two other key characteristics of heuristics: 

All heuristics are fallible. Under the availability heuristic, people tend to make decisions based on more recent information that is quickly called to mind and the solution you remember easily might not be the optimal solution. 

The unknowing use of any heuristic can lead to systematic errors in thinking known as biases. Biases can have a detrimental impact on you and your testing. For example, under the availability heuristic, if you used a tool successfully in your last few projects, you might want to use it in the next even when there are more suitable tools available.

Despite their fallible nature and the potential biases they cause, heuristics are very useful. It may be impossible or impractical to find the optimal solution to a problem. In these circumstances, we can use heuristics to find solutions that are ‘good enough’ to achieve our immediate goal.

Heuristic Evolution

Heuristics are thought to have been essential during human evolution. The use and development of heuristics are considered to be innate. Some are believed to be “hard-coded” into our brains, serving as adaptive survival mechanisms. These mechanisms are thought to have contributed to our early ancestors making effective decisions when foraging for food, selecting mates, and dealing with aggressive threats.

Today, heuristics are just as essential. Humans employ and develop them every day whenever we quickly make judgments or reach decisions without using all information or computational abilities available to us. Some examples of everyday heuristic techniques that you may recognise are using a rule of thumb, making an educated guess, or following your intuition. Without such heuristics, we’d be unable to function effectively; everyday decisions and judgments would require an exhaustive cost-benefit analysis. 

On the other hand, there is evidence that humans use potentially detrimental heuristics throughout our entire life-spans. Thankfully, we’re not at their mercy. The degree to which we use certain heuristics changes over time based on our experiences, abilities and skills. This highlights another important aspect of heuristics; we naturally tend to develop and use heuristics in contexts where we have experience of them being successful and avoid using heuristics that have been less successful.

What’s even more reassuring is that humans can think consciously about heuristics and pull them from system 1 (intuition) to system 2 (reasoning). If we have an understanding of common heuristics, the potential biases they cause and have experience of using them in various contexts, we can knowingly and wisely choose the most appropriate heuristic to solve our immediate problem.

Testing With Heuristics

In the world of software testing, we can use heuristics to help us make decisions and solve problems while testing software. They can be particularly useful by offering us suggestions when we’re unsure of how to start a testing project or have run out of ideas on what to do next.

Heuristics can work incredibly well in certain contexts when applied with thought and skill. Your choice and application of a heuristic may not turn out to be the best course of action but if one heuristic doesn’t work, you can always try another.

Some Well-Known Software Testing Heuristics

As testers, we frequently come across heuristics in the form of checklists, mnemonics and cheat sheets. They may sometimes be referred to as oracles or models. No matter what they're called or the form you get them in, if they serve as cognitive shortcuts that help us to solve problems or make decisions, they’re heuristics.

Here are three well-known test heuristics used by software testers:

1. Goldilocks - Elisabeth Hendrickson

We are all familiar with the story of Goldilocks and the Three Bears, and the Goldilocks heuristic focuses on the concept of “too big, too small and just right”. 

When considering the Goldilocks heuristic, testers could think about data entry fields and try testing with data entries that are too big, too small and with entries that are more “typical” for that field and context. For example, you could try entering data into a currency field with a googol, a negative number and a more typical number for your product.

Elisabeth covers the Goldilocks heuristic and much more in her fantastic book, Explore It!

2. RCRCRC - Karen N. Johnson

The mnemonic RCRCRC will help you remember key words for a test heuristic that could support you with regression testing. The letters stand for Recent, Core, Risky, Configuration, Repaired and Chronic. Each of these key words were developed to prompt you to think up useful test ideas for your context. For example, the first word, Recent, could prompt you to think about whether any new code or features were added to your product and what testing you could perform around those changes.

For more information on this mnemonic and the application of this heuristic in regression testing, you should check out Karen’s slides from her presentation on Software Testing Heuristics & Mnemonics.

3. FEW HICCUPPS - James Bach and Michael Bolton 

FEW HICCUPPS is a mnemonic which may help you remember key words for oracles that could support you with identifying problems in your product. These oracles are particularly useful when a specification is missing or contains inadequate information. It’s important to note that all oracles are heuristics; they’re just a specific type of heuristic which could help you recognize problems in your product. 

The letters in this mnemonic stand for Familiar, Explainability, World, History, Image, Comparable product, Claims, User Expectations, Product, Purpose, Standards, and Statutes. These oracles focus on consistency criteria, for example, your product should be consistent with History: 

“We expect the present version of the system to be consistent with past versions of it.”(9)

When there’s no reason for a change, the current functionality of your product should be consistent with the previous functionality. It can be particularly useful to use this oracle when you’re testing a new version of your product. 

As well as being a mnemonic, FEW HICCUPPS can also be used as a metaphor to further aid with your memory;

“When we’re testing, actively seeking problems in a product, it’s because we desire… FEW HICCUPPS.”(9)

For more information on this mnemonic and the application of these oracles to potentially identify problems with your product, you should read Michael’s blog. This blog has lots of other helpful posts on oracles and the use of heuristics in software testing that are well worth a read.

More Well-Known Heuristics

Those were just three of many test heuristics that have been shared within the testing community. Del Dewar has kindly collated numerous mnemonics of test heuristics from multiple sources and placed them in this handy mind map.

Note: as many well-known test heuristics use mnemonics, it’s a common misconception to think that heuristics must have a mnemonic or that they’re the same thing. They’re not. Heuristics don’t require a mnemonic, they’ve just been developed this way to aid with memory recall. You can find plenty of well-known test heuristics that aren’t mnemonics in the Test Heuristics Cheat Sheet.

Extra note: A mnemonic is a type of heuristic; they act as a cognitive shortcut to help solve the problem of memory recall. A cheat sheet is a type of heuristic too. Also, a mind map is a type of heuristic… we could go on. Remember, a heuristic can be almost anything. Anything, that acts as a cognitive shortcut in helping you make decisions or solve problems but is not guaranteed to do so and could lead to biases.

Personal Software Testing Heuristics

If you are a practising tester, you will be using your own heuristics - whether you are aware of it or not. This is partly because the use and development of heuristics are intuitive and innate. But, also because everything testers do in software testing could be considered a heuristic. From all the test techniques we use to the next test ideas we come up with during exploratory testing; they’re all born out of cognitive shortcuts that aid us in quickly making decisions and solving problems.

As a tester, you may have a routine that you follow before you start testing, such as opening particular applications. You do this because your experience tells you that you may need them during your testing and that having them open from the start will help you solve the problem of losing your focus mid testing to open them.

It can be hard to identify your own personal heuristics, after all, we often unconsciously develop them based on our experiences using system 1 thinking. The best method to spot them and pull them into system 2 is to reflect upon your actions during and after every testing session. Regular reflection on your testing activities can help you identify patterns in your behaviour and potentially help you identify your personal testing heuristics. These reflections can also help you identify biases.

Heuristic Praxis Gap

A praxis gap occurs when there is an inadequate understanding of the relation between theory and practice. And in the context of test heuristics, a praxis gap happens most frequently when well-known software testing heuristics are routinely applied to test software with little to no thought as to whether the chosen heuristic is helping the tester solve their problems, or make suitable decisions.

Heuristic praxis gaps can also arise when practising testers develop effective heuristics without realising it. You may be wondering where’s the issue here? But, without awareness, testers are unable to justify their decisions and are open to the biases heuristics can cause. Sadder still, many awesome test heuristics are not shared with the testing community that could help advance our profession.

Finally, a heuristic praxis gap can happen when a tester understands the theory behind a heuristic but is unaware of how to apply it effectively to their testing practice.

Filling the Gap

Praxis only happens when theory is applied to practice. To fill the gap you must learn the theory behind heuristics, learn some well-known test heuristics and practice applying them thoughtfully. 

To learn the theory, read blogs and books on heuristics, watch talks and have discussions with other software testers on when and how to apply them. Have these discussions in person, on forums, on slack, social media, wherever. The more people you talk to the better.

Once you’ve learnt all about heuristics, it’s time to practice applying them in different contexts. Importantly, you should reflect upon their efficacy; what worked, what didn’t and why. If a heuristic is not working for you, try another, modify it or make your own.

Modify Heuristics

Don’t be afraid to skip parts of a well-known test heuristic that’s not quite working for you. You might not get value from using a heuristic in its entirety, so go ahead and just use part of it. Use what works for you in your context and drop what doesn’t.

Another option is to add to a heuristic. For example, you may forget the words for RCRCRC. Richard Bradshaw does this regularly and mentions ‘Revenue’ as one, it isn’t one, but nevertheless, it’s provided him with lots of test ideas in the past. Revenue encourages him to think about the parts of a system that generate the business revenue, no revenue, no business. So, for him, RCRCRC has become RCRCRCR. 

Even the creators of well-known heuristics change them, FEW HICCUPS started out as just HICCUPS, then Michael Bolton added the FEW to it. So if the creators are changing them, why not create your own oracles that focus on consistency criteria? Michael even encourages you to.

You can get really creative when you start mixing heuristics. John Stevenson introduced this idea at TestBash Brighton with his fantastic talk on breaking model fatigue. John encourages us to SCAMPER existing models; Substitute, Combine, Adapt, Modify, Put to another use, Eliminate and Reverse them. Try experimenting with different combinations and alterations of well-known test heuristics and see what brings you value. 

Note: Models are a type of heuristic, they’re a method of trying to solve the problem of making complicated or abstract things simpler and easier to understand.

Make Your Own

The first step in realising and developing your own test heuristics is to identify where you are already using them. This is a very difficult process. We’re used to explaining what we’re doing, but we find the why significantly harder to articulate, but the ‘why’ is where the heuristics are hiding. Here are a few methods we can use to reveal them.

Reflection

Reflecting on your testing activities can often reveal patterns, those patterns are probably the result of applying heuristics. Reflecting regularly during and after every test session will increase your chances of identifying heuristics. For example, you could spend a few minutes after each testing session asking yourself “why did I do the tests that I did?” and, “why did I do them in that order?” Taking good testing notes can aid you with reflection, you may spot patterns as you are taking them and when you review them.

Verbalising

Another way to identify and make your own heuristics is to verbalise your testing activities to others. The process of verbalisation encourages reflection, as you search for the words to share and think about explaining what you’re doing or have done. When discussing decisions with others we often reveal subtleties we were not aware of and make new connections between thoughts and ideas when we’re describing them. You can verbalise your testing activities and decisions with a team member, perhaps in a testing debrief session or during a pairing session. Alternatively, you could verbalise them to yourself using the rubber duck heuristic. 

Teaching

Teaching is where Richard Bradshaw has had the most joy in realising his own heuristics. To teach others well, you need to fully understand your own actions when practising the subject being taught. This means lots of thought and reflection on your testing practice to identify what needs to be taught and even more importantly on how to teach it. Working out how to teach testing knowledge and skills is where Richard has created and shared most of his own heuristics to aid his teaching. For example, the SACRED model was designed to teach people about automated check design and TRIMS was created to encourage people to think about their automation strategy.

Putting Theory Into Practice

Heuristics are powerful, even more so when you’re fully aware of them, understand them and can apply them thoughtfully during your testing sessions. In other words, heuristics are most powerful when you use heuristic praxis.

After practising using different heuristics in different contexts, you will develop great judgement to know which heuristic to apply and when. From reflecting deeply on your testing practice through note-taking and verbalisation you will be able to modify existing heuristics to better suit your needs and perhaps even identify your own.

We encourage you to go ahead and change well-known test heuristics and to develop your own. We would love to hear your stories on remixed and new heuristics on The Club.

References:

  1. Judgement under Uncertainty: Heuristics and Biases - Amos Tversky and Daniel Kahneman
  2. Dual Process Accounts of Reasoning - Systems - Wikipedia
  3. Decision-making heuristics and biases across the life span - JoNell Strough, Tara E. Karns, and Leo Schlosnagle
  4. Introduction to Memory Techniques - Mind Tools
  5. 99 Second Introduction to Oracles
  6. 99 Second Introduction to Models
  7. Test Heuristics Cheat Sheet - Elisabeth Hendrickson, James Lyndsay, and Dale Emery. And further ideas from Andrea Jensen, Ady Stokes, Callum Akehurst-Ryan, Dave Dora, Deborah Sherwood, Mark Winteringham, and Simon Tomes.
  8. Software Testing Heuristics and Mnemonics - Karen N Johnson
  9. FEW HICCUPPS - Michael Bolton
  10. Testing Mnemonics - Del Dewar
  11. Mapping Biases to Testing - Maaike Brinkhof
  12. Model Fatigue and How to Break It - John Stevenson
  13. How Models Change - Michael Bolton
  14. Reflective Practice - Wikipedia
  15. Rubber Duck Debugging - Wikipedia
  16. Your Tests Aren’t Flaky, You Are! - Richard Bradshaw
  17. TRIMS - Richard Bradshaw

Suggested Further Reading:

Richard Bradshaw
Richard Bradshaw is an experienced tester, consultant and generally a friendly guy. He shares his passion for testing through consulting, training and giving presentation on a variety of topics related to testing. He is a fan of automation that supports testing. With over 10 years testing experience, he has a lot of insights into the world of testing and software development. Richard is a very active member of the testing community. Richard blogs at thefriendlytester.co.uk and tweets as @FriendlyTester. He is also the creator of the YouTube channel, Whiteboard Testing.
Sarah Deery
Learning and Development Lead
She/Her
Sarah Deery is the Learning and Development Lead at Ministry of Testing. Her main aim is to help software testers turn their vast knowledge and skills into bite-sized chunks suitable for the community to digest. She used to do things in her spare time but now she has a toddler.
The membership for software testing professionals image
Join thousands of other software testers in levelling up their careers
Explore MoT
TestBash Brighton 2025 image
Wed, 1 Oct 2025
On the 1st & 2nd of October, 2025 we'll be back to Brighton for another TestBash: the largest software testing conference in the UK
Cognitive Biases In Software Testing
Learn how to recognise cognitive biases, explain what they are and use them to your advantage in your testing
This Week in Testing
Debrief the week in Testing via a community radio show hosted by Simon Tomes and members of the community