基于场景模式的嵌入式软件测试用例设计  被引量:10

Design of Embedded Software Test Cases Based on Scenario Pattern

在线阅读下载全文

作  者:杨广华[1] 齐璇[1] 施寅生[1] 

机构地区:[1]北京系统工程研究所,北京100101

出  处:《计算机工程》2010年第15期89-91,共3页Computer Engineering

摘  要:将场景和模式方法用于嵌入式软件测试用例的设计与生成,通过对被测软件系统需求进行分析建模,将建立的场景模型划分到不同的场景模式中,依据场景模式构建测试场景的状态图,遍历场景状态图以获取测试执行路径,确定相关的测试数据,设计并生成测试用例。实验结果证明,该方法可以较快地设计和生成测试用例,提高测试用例的可重用性,实现对嵌入式软件的有效测试。This paper applies scenario patterns to design and generate embedded software test cases.By analyzing and modeling the requirements of the system under test,the scenario models constructed are classified into different patterns.The state diagrams of test scenarios are created according to scenario patterns.Test executing paths are derived by traversing the state diagrams,and test cases are designed and generated from test executing paths and test data.Experimental result proves that the method can design and generate test cases rapidly,enhance the reusability of test cases,and realize efficient test for embedded software.

关 键 词:嵌入式软件 测试用例 场景模式 

分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象