An analysis of unit tests of a flight software product line

作者:Ganesan Dharmalingam*; Lindvall Mikael; McComas David; Bartholomew Maureen; Siegel Steve; Medina Barbara; Krikhaar Rene; Verhoef Chris; Montgomery Lisa P
来源:Science of Computer Programming, 2013, 78(12): 2360-2380.
DOI:10.1016/j.scico.2012.02.006

摘要

This paper presents an analysis of the unit testing approach developed and used by the Core Flight Software System (CFS) product line team at the NASA Goddard Space Flight Center (GSFC). The goal of the analysis is to understand, review, and recommend strategies for improving the CFS%26apos; existing unit testing infrastructure as well as to capture lessons learned and best practices that can be used by other software product line (SPL) teams for their unit testing. The results of the analysis show that the core and application modules of the CFS are unit tested in isolation using a stub framework developed by the CFS team. The application developers can unit test their code without waiting for the core modules to be completed, and vice versa. The analysis found that this unit testing approach incorporates many practical and useful solutions such as allowing for unit testing without requiring hardware and special OS features in-the-loop by defining stub implementations of dependent modules. These solutions are worth considering when deciding how to design the testing architecture for a SPL.

  • 出版日期2013-12-1