Securicor Electronics
About IPL
Market sectors
Software development
Systems integration
Consultancy
Case studies
Testing tools
Overview
News
Cantata++
Cantata
AdaTEST
Library
Support
Training
Partners
Information
Career opportunities
Contact us
Search
Help
Home page
"Software Testing for Product Reliability"
Securicor Electronics designs and manufactures sophisticated security equipment for commercial and domestic use. Located in Midsomer Norton in Somerset, the company employs 120 people including a 15 strong development team with 4 software engineers. In 1991 it embarked on the development of a brand-new range of products, codenamed "G-92".
Motivation to Consider Software Testing
Previous experience of such developments had led management to an extreme distrust of 'ad hoc' software testing methods, as software bugs had proved responsible for a large proportion of field faults. A decision was therefore made to explore ways of introducing a more rigorous approach to testing at all levels in the software hierarchy in order to improve product reliability.
Cantata Evaluation
An evaluation of Cantata was started in January of this year. Special Projects Manager, John Duckett, admitted the evaluation was not very structured. "We had a day's training then took Cantata home to see what could be gained. Fortunately the product was easy to learn, so the team were quickly productive".
After 2 months they took stock. The main conclusion was that the effort required to produce the tests was 30%-40% less than by hand coding of tests. In addition, the team liked the uniformity of style encouraged by Cantata and the fact that test output provided evidence of the work carried out.
Work Begins
A full Cantata licence was purchased and testing began in earnest. Certain decisions were made which helped focus testing effort where it was most effective. This meant concentrating on the Alarm Generation Subsystem, the heart of the system, consisting of 8 tasks.
Unit testing of modules in the tasks was carried out (to an average level of 95% decision coverage) in order to minimise coding errors. Cantata's static analysis functions were used to eliminate the use of C constructs known from experience to cause problems, particularly the use of switch statements with no default cases. Then task testing was carried out to discover if there were any design errors in the tasks. That work is substantially complete, and the development is now moving into system test.
The Gains
Looking back over a busy ten months with Cantata, John Duckett says "The productivity gains of 30-40% stayed with us, especially when we were able to take advantage of reusing old tests. That was good. However, the real power made itself felt through enforcing the coverage standard to ensure that units were properly tested. It became very apparent that units and tasks which had received the full Cantata treatment were much easier to integrate than those which, for various reasons, had not. We gained considerable confidence in the reliability of each other's software by knowing it had been properly tested."
Asked to express an opinion on the 'value for money' aspect of Cantata, Duckett says, "Speaking conservatively this product has probably paid for itself twice over already. Initially we were a bit reluctant to consider spending what for us represented a large part of the development budget, but I am glad to say the decision was a good one."
What Has Been Learnt?
Duckett has one major comment to make about what he would do differently if he could go back a year and start again. "More and earlier testing is what I would do! As an activity there is no doubt it pays for itself if done properly".
Conclusion
Securicor Electronics identified a more rigorous and structured approach to software testing as the key means to improving product reliability. Until the new products have been proven in operational use, it is too early to say the development has been successful. But as the launch date approaches the software department is confident that this goal will be met, and that proper use of Cantata was the key.
IPL wishes to thank Securicor Electronics for permission to report their experiences with Cantata and wish them every success with their G-92 product range.