Divorce Software error should have been avoided

Recently an error was revealed in the online software application used by thousands of people in the UK when calculating their divorce settlements. It seems the potential cost was not fully recognized and hence the ROI (Return on Investment) calculations not properly performed.

T&VS, a leader in software test and hardware verification solutions, offers the following web application testing steps that should have been taken to discover that error much earlier without all the associated financial and personal costs.

Step 1: Test at the lowest level

Complex web applications are built from basic “units” of software. Ensuring they function correctly can catch errors early when they are cheap to fix. In this case it seems that the basic mathematical formulae used to calculate the settlement appear to be incorrect.

Step 2: Ensure the software design is modular
Ensuring the basic “units” are decoupled as much as possible is essential to simplify software and increase the benefits of testing. For example, in this case, the user interface and the underlying mathematical functions should have been separated. This would allow them to be tested separately.

Step 3: Test as a user would use it
In the jargon they are called “use cases” but it is common sense. In this example the bug was spotted by a user who was checking the output from the website through his own calculations. Such basic tests should have been carried out before the website was released. It is also important to check for common errors that users might make (or “non-use cases” in the jargon).

 

 Conclusion:

This appears to be an error that a basic approach to web application testing would have found earlier thus avoiding all the financial, reputational and personal costs that are now bound to follow.

At T&VS we help our clients to ensure their products (from complex hardware through safety critical software to web applications) are fit for purpose and understand how much testing is required to ensure good ROI.

Feel free to contact us for more details.

 

About the author:

Dr. Mike Bartley  has been involved in testing software and hardware for over 25 years. He started Test and verification Solutions (a company dedicated of software testing and hardware verification) in 2007 and has grown it into a global service and product provider.

2015-12-23T09:55:26+00:00 23rd December, 2015|Blog, Thought Leadership|
T&VS NEWSLETTER SIGN-UP
The T&VS newsletters inform you about industry news, events and information from T&VS. No spam, we promise and it is always easy to unsubscribe.
We never share your information. Read our Privacy Statement
Interested in Formal Verification?
Then why not attend the TVS Formal
Verification Bootcamp training?
The 2-day Formal Verification Bootcamp is for design and verification engineers looking to enhance their knowledge of formal verification and to learn how to write effective assertions to find and fix bugs. The course is a mix of presentations and hands-on development exercises.
Bootcamp Enquiry Form
If you are interested in receiving additional information on the course then simply email Mike Bartley (TVS CEO and Course Leader) by entering your details below.
Interested in SystemC?
FREE SystemC UVM Library Now Available
The TVS SystemC UVM library closely mimics UVM but gives users a license free UVM-based verification environment.
Have your product requirements been successfully tested and implemented?
Find out how asureSIGN can help you implement a successful Requirements Driven Verification and Test Strategy by visiting asureSIGN or enter your details and we will be in touch.
Course Dates and Pricing
To receive additional information, including course dates and pricing, please contact our training team who will be happy to help.
Download Request
Please complete the following form then click 'submit' to access the download.
Presentation Request
Please complete the following form then click 'submit' to gain access to the presentations.
DOWNLOAD REQUEST
Please complete the following form and then click 'submit' to gain access to the download.
FREE QA ASSESSMENTS
Did you get what you were looking?

Let the testing experts help. We will run a FREE QA assessment which will include our top 5 recommendations to help maximise your testing.