Non-functional Testing – Quality Matters
Non-functional testing - the name almost screams non-event at you, doesn’t it? This does the value it brings no justice at all. Dr. Boehm referred to quality attributes way back in late 70s. They are still relevant today, even by another name.
Non-functional testing:
- Should be performed at all levels so that potential defects are detected as early as possible, since late detection can be very serious and expensive to fix;
- Can make use of black box testing techniques, such as checking that a flight can be booked within a specific time frame;
- Often requires specialist knowledge (such as knowing the inherent weaknesses of specific technologies), skills (such as having an understanding of how to carry out performance testing) and test environments (such as usability labs);
- Can be measured – for instance, checking the percentage of mobile devices tested for compatibility with an application.
These tests can be referenced against a quality model, such as the one defined in ISO/ IEC 25010 Systems and Software: Quality Requirements and Evaluation (SQuaRE). As a part of non-functional testing, we can check the following:
- Performance efficiency – including response times, resource utilisation, and maximum limits of performance. You are probably familiar with websites with lots of graphics which take longer to load than other sites that you might visit.
- Compatibility – information-sharing between products and systems within a common environment, such as buying a product online. This requires a front end to allow a user to make a purchase and a back end to process payment and arrange delivery of the items.
- Usability – this we are familiar with. Does the system provide what we need efficiently and effectively? In today’s world of artificial intelligence, this aspect of testing opens up a potential divide between efficiency (machine learning algorithms run fast) and effectiveness (will the desired human outcomes match the determination of the machine?).
- Reliability – does the system perform its functions under normal operating conditions and can it cope with hardware or software faults? For instance, if a credit card payment has not been successful, is the user reliably informed of this and how to put it right?
- Safety – can a system failure cause harm to a person? You are most likely already aware of safety critical systems, such as transport and healthcare for example.
- Security – in recent years we have been made aware of the many security risks associated with online transactions. For example, banks have responded in an attempt to stop phishing by taking the user through a series of questions before a payment can be made.
- Maintainability – for many of us, once a system goes live we move on to the next project. Maintainability looks at the ease of making changes to the system to respond to possible live defects, changes to the environment or shifting user demands, for example.
- Portability – this looks at the ability to adapt, replace and install systems in different hardware and software environments. For example, iPhone™ users would be familiar with iOS updates, which should be seamless to them.
Perhaps quality attributes wasn't such a bad name after all.
