کد مقاله | کد نشریه | سال انتشار | مقاله انگلیسی | نسخه تمام متن |
---|---|---|---|---|
435074 | 1441697 | 2013 | 21 صفحه PDF | دانلود رایگان |
![عکس صفحه اول مقاله: An analysis of unit tests of a flight software product line An analysis of unit tests of a flight software product line](/preview/png/435074.png)
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’ 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.
We analyze architectural characteristics that facilitate or impede unit testing.
► We analyze a unit testing approach developed at NASA.
► We use NASA’s Core Flight Software (CFS) product line as the test-bed.
► We discuss that the CFS has architectural concepts to facilitate unit testing.
► We discuss that the CFS is testable without OS features and hardware-in-the-loop.
Journal: Science of Computer Programming - Volume 78, Issue 12, 1 December 2013, Pages 2360–2380