<img alt="" src="https://secure.wauk1care.com/164394.png" style="display:none;">

Risk-Based Testing - What's Important?

Posted by The nFocus Team on 30/10/2019

Risk Assessment and Analysis

As testers we are inclined to try to test everything, however factors such as timescales, available resources, technical complexities and costs can prevent this from happening.

risk based testing

We need to use the resources we have as effectively as possible, we need to test the most important things as a priority.

So how do we know what is most important?

This is where we apply risk-based analysis to determine the areas that carry the most risk and prioritise testing these areas first. Risk is the probability of the asset under test not working as required and the impact if it doesn’t work as required. This approach is known as risk based testing.

When assessing the probability of the risk occurring, you could consider if the asset is new, is it complex, have there been recent failures and does history indicate it will be poor quality?

For impact, consider how critical the asset is, this could mean critical as in human life or critical to the organisation operation, will the organisations reputation suffer how many users rely on it, what is the importance of these users?

When thinking about risk, remember non-functional testing, is sensitive data involved, is it secure, is it recoverable, usable, how many users are expected etc.

You may have the information readily available, you may need to seek information from colleagues or use incident reports.

You can use a matrix that will allocate different areas and tests risk values. This makes assigning the risk values easy and provides clear information on which areas need to be tested as a priority. The complexity of the matrix used will depend upon what works best for you and your organisation but it will usually follow this calculation:

Risk Score = Impact + Probability or Risk Score = Impact x Probability

Once you have allocated and agreed the risk scores with your stakeholders you can agree what needs to be tested as a minimum. Risk scoring provides information to make decisions on which tests need to be run as a minimum and which test can be sacrificed.

For an organisation we’re working with, we wanted to provide an easy mechanism to provide a quick response on the level of testing required for a change. Using the risk based testing approach, we agreed the criteria for higher risk changes.

Once we agreed our criteria, we turned these into simple yes/no questions and using SharePoint created a simple set of questions with an automated decisioning flow. Our colleagues can quickly receive an automated response on whether their change is considered a low enough risk to follow the BAU change process or whether it needs to be accessed in more detail by the test team.

A How-To Guide For Test Planning

Topics: Software Testing, Risk Based Testing

nFocus Blog

Welcome to the nFocus software testing blog. As thought leaders and technical innovators, we created this blog to distil our thoughts, ideas and musings on improving software quality.

Fill out the form below to receive future communications from nFocus including our latest:

  • Blog articles
  • White Papers
  • and plenty more!

Follow us

Follow us on LinkedIn to see our latest content!

Subscribe Here!

Recent Posts

Posts by Topic

see all

Posts by Topic

see all