摘要
在分析实时软件特征的基础上,从任务组合和等价类划分两个主要环节探讨了软件测试用例构造策略,总结出六项基本规则,并将这些规则应用于一项大型工程软件的测试,使测试用例数减少到接近最低程度,时间和费用降低50%以上。
Finding no detailed technical informatinn in the open literature about test cases for real -time software, we had to make such test cases ourselves.We concentrated on the test cases for examining the correctness of reai - time software.This paper gave a relatively detailed discussion and then proposed six rules for designing such test cases.We took the CNI (Communication Navigation Identification) subsystem of a particular avionics software and desisned test cases for its CCU (Central Control Unit) software. The architecture of this CCU is shown in Fig. 1, which shows schematitally the relationships among SBCMT (System Bus Communication Management Task), IDLT (Initial Data Load Task), PTS(Processing Task Set) and CNIBCMT (CNI Bus Communication Management Task ).The CCU in Fig. 1 contained approximately 40 000 statements of C language. We had made more than 700 test cases and found 38 errors in the CCU examined.
出处
《西北工业大学学报》
EI
CAS
CSCD
北大核心
1998年第2期261-265,共5页
Journal of Northwestern Polytechnical University
基金
航空科学基金