DocumentCode
3516313
Title
Automated Testing of Science Instrument Flight Software
Author
Mazer, Alan S. ; Loring, Scott M.
Author_Institution
Jet Propulsion Lab., California Inst. of Technol., Pasadena, CA
fYear
2008
fDate
1-8 March 2008
Firstpage
1
Lastpage
12
Abstract
This paper describes an approach to automated testing of science instrument flight software using scripted commanding, telemetry capture, and intelligent telemetry verification. The most difficult piece of this approach, telemetry verification, is accomplished with a JPL-developed software package, HKCheck, which takes user- defined packet formats, error conditions, and goals, and verifies that binary telemetry meets the specified conditions. Packet formats are defined using an ASCII file, easily created in any text editor. Test-specific and context-specific error conditions are expressed using a simple C-like notation, enabling large amounts of telemetry from normal flight operation or system testing to be rapidly scanned for anomalous telemetry. Goals, like waypoints, are similarly expressed in simple notation, and allow telemetry analysts or test conductors to look for specific events in the telemetry stream. The power and flexibility of the HKCheck error and goal specification language enables context-dependent analysis of telemetry, and rapid, repeatable analysis of test results, encouraging more frequent testing, and reducing the risk of human error in test analysis. Use of HKCheck on Mars Climate Sounder enabled full regression testing of flight software every month or two, rather than just on major deliveries, giving developers confidence that software was working correctly and uncovering potential bugs earlier in the development cycle than standard methods allow. It has since been used, with extensions, on other flight projects as well.
Keywords
aerospace computing; program testing; telemetry; ASCII file; HKCheck software package; Mars Climate Sounder; automated software testing; binary telemetry; intelligent telemetry verification; regression testing; science instrument flight software; scripted commanding; telemetry capture; user-defined packet formats; Automatic testing; Conductors; Humans; Instruments; Risk analysis; Software packages; Software testing; Specification languages; System testing; Telemetry;
fLanguage
English
Publisher
ieee
Conference_Titel
Aerospace Conference, 2008 IEEE
Conference_Location
Big Sky, MT
ISSN
1095-323X
Print_ISBN
978-1-4244-1487-1
Electronic_ISBN
1095-323X
Type
conf
DOI
10.1109/AERO.2008.4526597
Filename
4526597
Link To Document