Lockheed Martin - F-22
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
AdaTEST - Producing Software They Are Proud Of
The F22 Raptor Undergoing Flight Trials
The F22 Raptor Undergoing Flight Trials
This issue of Testing Times features one of the world's leading aerospace companies and the use they have made of AdaTEST in helping produce a reliable suite of avionics software for the 'next generation' F-22 fighter aircraft.
Lockheed Martin, one of the world's chief suppliers of military aircraft, needs no introduction. At their Aeronautical Systems plants in Marietta, Georgia, they are currently seven years into a programme to develop the US Air Force's latest air-superiority fighter, the F-22. From a software point of view, the program is interesting as it overlaps almost completely with the introduction of Ada as the US Department of Defense's preferred (then mandated) language, and as such the avionics software is written almost exclusively in Ada.
The sheer scale of the F-22 software development required multiple-location working, with the Display and Mission Systems Software being carried out at Marietta. This software relates mainly to the pilot's ability to carry out his mission, including its planning, navigation and the use of situation awareness information.
Mission Critical
The software has been assigned a risk-class of 'mission critical' for obvious reasons, and is therefore subject to stringent testing requirements. The entire programme is being developed to the DoD 2167A standard, which mandates unit (CSU) and integration (CSC) testing, as well as the obvious system (CSCI) tests. The detailed project software standards have been developed by Lockheed Martin themselves and include high levels of code coverage on all unit tests (100% coverage on Statements, Decisions, Exceptions and Boolean Operators).
Evaluation
Avionics development began in 1990, with the coding phase starting in early 1995. MaryAnn Tompkins was the F-22 Internal Independent Verification and Validation Manager and was assisting the project in finding a suitable testing tool which would facilitate the extensive programme of CSU testing which was about to start. Through an encounter with IPL's US representatives, QCS, at a software testing conference, she initiated an evaluation which started in August of that year.
The evaluation work was entrusted to Software Engineer, Tad Keely. The software environment for the program was VAX with Digital Ada for host-native testing, and the i960 target processor with a VAX-hosted cross-compiler supplied by ICC. In the event, most of the evaluation work was carried out on the target because this was the area where, at the time, confidence was lowest so testing had the most to contribute. AdaTEST was supplied to Keely in source form and was installed without any significant difficulty.
The evaluation was largely completed within three months and was a success from AdaTEST's point of view. The most important criterion was satisfied, in that AdaTEST was shown to be wholly effective in the i960 target environment. Now programmers could actually run their code on the target and be able to demonstrate in a convincing manner that the units did work as they were supposed to. Occasionally however the software (despite being correct at source level) did not work, and AdaTEST was instrumental in showing up some early cross-compiler faults. A second crucial capability was coverage analysis, which was a determining factor in deciding when unit (CSU) testing was complete. Finally, given that the software development tools especially the cross-compiler were at an early level of maturity, there was a recurring need for regression testing of all units. Each new compiler release demanded that all CSU tests be rerun, and this normally time-consuming activity could be carried out in a completely automated fashion with AdaTEST.
Deployment
Following the decision to purchase in November 1995, AdaTEST was put to work on the development of the first release of the F-22 tactical avionics. This phase of the program has so far involved around 30 software engineers and generated 85,000 SLOCs. In the summer of 1997 the first F-22 plane actually flew and Mike Morton, currently a senior technical staff software engineer, is in a position to add further observations to the contribution of AdaTEST. "Basically, AdaTEST has been used for the entirety of CSU testing so far, and there is no doubt that its role has been significant in helping us produce the current release on time and to a level of confidence we can be proud of."
Conclusions
Morton is acutely aware of the difference that a program of rigorous unit testing can make when integration testing has to be completed under severe time pressure. He has repeatedly observed that units presented for trial integration without passing through the earlier level of test were noticeably less reliable than properly tested ones. Furthermore, when properly tested units are integrated it allows the CSC testers to concentrate on their main task, which is to ensure that the units all work together as expected and that performance is within design requirements.
Looking ahead to the next phase of work, Morton is keen to extract even more productivity. "Now that we have achieved a good level of confidence in the target environment, we intend to do more host-based testing using AdaTEST script generation. During this activity, AdaTEST's stubbing ability will be very useful in testing units in a hardware-independent fashion." For further confidence in the units' behaviour they will be employing the AdaTEST 'test-point' mechanism, which will allow them to verify the internal states of the code. Finally, Morton is of the opinion that the test coverage requirements were set a little on the high side, so it is intended to relax them. These factors combined should all help to speed up the delivery of the working 'Block 2' software.
The final words go to Mike Morton: "AdaTEST has been a great help to us. Its use has significantly increased the quality of the software products we are delivering, and it is wholly evident that the use of properly tested software units has led to greatly reduced integration testing times." No doubt there!
IPL would like to thank Lockheed Martin for permission to report on their experiences with AdaTEST, and take this opportunity to wish them well with their F22 work and with all other projects.