Back to the glossary

Process and automation

Risk-based testing

In risk-based testing, the scope, order and depth of testing are guided by how likely a failure is and how much damage it would cause.

Also known as: risk-driven testing

Why test by risk?

Testing time is always limited. Testing everything equally thoroughly means testing the important parts too little. Risk-based testing answers the question: where should the effort go to prevent the most damage?

The approach

  1. Collect risks: what can go wrong? Together with development, product and support
  2. Assess: likelihood times impact, often as a simple three-level matrix
  3. Derive: high risks get more test levels, more automation, more reviews; low risks perhaps just a smoke test
  4. Adjust: new defects, field failures and changes shift the assessment

Typical risk drivers

  • Safety of people and the environment
  • Money: billing, payments, warranty claims
  • New or heavily changed components
  • Complex interfaces to other systems
  • Areas that have had many defects before

For teams just starting with structured testing, a short risk list is often the best starting point for the test strategy.