Britannia Building Society:
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
"Productivity Through Re-use. Reliability Through Testing!"
One of the dominant trends in software at the moment, is the move towards Object Oriented design and the use of C++. The main goal of this movement is improving productivity; getting systems delivered more quickly. The downside of this trend is the notorious problem of testing OO designs implemented in C++, with the obvious consequence that testing is often superficial. This case study examines one organisation's successful move into the OO paradigm and the steps they have taken to ensure confidence in the delivered systems.
The Britannia Building Society (BBS) is a financial institution offering a large range of mortgage, loan, investment, insurance and other services to its members. It currently ranks at number nine among similar organisations in the UK in terms of turnover. BBS has assets of £13 billion and made mortgage advances of £1.4 billion in 1993 alone. The society operates a network of approximately two hundred branch offices, as well as supporting around ninety financial advisers, a life assurance subsidiary (Britannia Life) and a chain of estate agents.
In common with other financial institutions, the society's 'assets' are the information it holds on customers and its financial products. As such, the systems which present, manipulate and administer this information are very much the 'bread and butter' of the society's existence and its basis for growth.
From Cobol to OO
The BBS Systems Department has a long history with the use of Cobol and mainframe technology. In common with a general trend in the financial sector, a decision has been taken to move towards object oriented systems development using C++. Typical systems have GUI front-ends and run on Unix workstations, and PCs under Windows. The use of GUIs is intended to permit the society to develop sophisticated support systems, while keeping the need for user training to a minimum. As ever, time to market is a critical factor, so speed in implementation is very important.
Reusability and Reliability
BBS has made a strategic decision that 'reusability' will be its main means of achieving these goals. David Croft, Principal Systems Architect, explains his philosophy as follows: "We want to create a library of reusable and portable business classes, so that we can quickly build systems for all business areas." He then continues in terms which will be familiar to all engineers, "Vital to the mission is that these classes must be 100% reliable, and that means bottom-to-top testing. Just as you wouldn't build an aeroplane with untested components, so we won't deliver systems which haven't been through the same process." Croft was additionally interested in testing because the move into OO and C++ was taking the development teams into new territory; thorough testing was the means by which he could check the effectiveness of the new design and implementation methods.
Reliability Through Testing With Cantata
In mid-1993, Cantata was selected for evaluation as a tool to assist BBS with the testing of the new C++ classes. An evaluation was set up by October of that year, and the evaluation process was run by Yvonne Beardmore. The first thing which Beardmore did was to run some old class tests through Cantata's coverage analysis facilities. This showed some considerable 'holes' in the testing, rather to the programmers' surprise! Next, she requested that the evaluation team to start using Cantata's test build facilities to evaluate the tool's effectiveness in performing dynamic tests.
Early Benefits
The evaluation was carried through until February 1994, and proved positive for Cantata. Beardmore summarised the perceived benefits in the following order: "The confidence we gained from using coverage analysis to see that the code had been thoroughly tested, the ability to detect redundant and unreachable code, and the uniformity of testing style which Cantata introduced. This meant everybody could understand each other's work, and we quickly evolved standards which gave a balance between useful verification and 'overkill'."
Beardmore also favourably observed that, on the productivity front, Cantata test scripts were very reusable. This ensured that once a few tests had been created, the remainder could be generated quickly by simply copying and editing. The old bugbear of test creation taking a disproportionate length of time had vanished.
Dave Croft, who was monitoring all of this work, identified another gain, namely the ability to satisfy the society's internal auditors that the development team was doing their work absolutely in accord with 'best practice' and that no short cuts on quality were being taken. "The fact that we can show them readable test output, with evidence of completeness is very useful."
Gearing Up
Post-evaluation, in April of this year, the team invested in five Cantata licences to run on PCs with Borland C++, and have been busy with the product since. The immediate goal is to provide support for the insurance quotations side of the business, where government regulations will require commission to be disclosed to customers by 1 January 1995. To date, approximately 15 business classes comprising around 5000 lines of code have been put through the Cantata testing process.
The size of the team is now being increased gradually, and a 'production line' approach is being adopted. Croft is confident that his delivery targets will be met, and he attributes this to the 'engineering approach' which is being taken. "Productivity with Rapid Application Development techniques is all very well, but only thorough bottom-to-top testing gives us the confidence that our systems will work reliably."
IPL wishes to thank Britannia Building Society for permission to report their experiences with Cantata and wishes them every success with their various projects.