节点文献
面向需求覆盖的航天软件测试用例优化方法
Optimization of aerospace software test cases based on requirement coverage
【摘要】 研究了一种面向需求覆盖率的测试用例优化方法,用于提高测试效率,增加航天软件测试的有效性。该测试用例优化方法包括测试用例约简和测试用例设计两部分,目前已应用于某航天型号项目的测试过程中。文中分析了航天软件的特点,测试流程及测试过程中可采用的优化技术。研究了现有的测试用例约简方法,并改进了基于测试需求的约简方法,使之能够满足需求覆盖率的要求。之后,提出了一种基于需求关键词关联的测试用例设计方法,以确保达到预期的需求覆盖率。最后,将这种优化方法应用于工程实践,并进行了结果分析。应用结果表明,采用上述方法不但满足了需求覆盖率的要求并使测试用例设计的工作量降低了约39%,保证了测试充分性,并有效地提高了测试效率。
【Abstract】 An approach to optimize the aerospace software test cases based on the requirement coverage is researched in this paper to improve the efficiency of the software testing and increase the effectiveness of aerospace software testing.It is composed of the reduction and design of test cases,and has been used in a test of aerospace project.Firstly,the characteristics,testing process,and optimization techniques of aerospace software are analyzed.Then,a method to reduce test requirements is improved to simplify the test requirements.Furthermore,a design of test cases based on the correlative keywords of requirements is given,and the requirement coverage is achieved.Finally,the optimizing approach is applied in the test of aerospace software.The results of application show that the method can not only satisfy the demand of requirement coverage,but also make the workload of designing test cases reduce by 39%.The method ensures testing adequacy,and improves the test efficiency greatly.
【Key words】 software testing; aerospace software; requirement coverage; requirement reduction; design of test case;
- 【文献出处】 光学精密工程 ,Optics and Precision Engineering , 编辑部邮箱 ,2014年01期
- 【分类号】TP311.52
- 【被引频次】60
- 【下载频次】809