基于正交试验设计的测试用例选择方法  被引量:4

Test Case Selection Method Based on Orthogonal Experiment Design

在线阅读下载全文

作  者:曾茂希 陆璐[1] 

机构地区:[1]华南理工大学计算机科学与工程学院,广州510006

出  处:《计算机与数字工程》2016年第8期1468-1473,共6页Computer & Digital Engineering

基  金:国家自然科学基金(编号:61370103);广东省科技计划项目(编号:2015B010107001);广州市产学研基金项目(编号:201508010034);武汉大学软件工程重点实验室开放基金联合资助

摘  要:随着传感器技术的发展,运行在各种移动设备上的上下文感知应用也迅速增加。这些应用软件不断地捕获移动设备周围的环境信息作为上下文,然后自动地调整设备的状态来适应上下文的变化。然而它们适应的过程中可能会由于触发了错误的适应规则而出错,因此,对这些上下文感知应用进行测试是保证其发展的至关重要的先决条件。由于上下文状态的多样性,在设计测试用例的时候可能会存在组合爆炸问题。论文了提出了一种基于正交试验设计的测试用例选择方法,并开发了一个普通的上下文感知应用来证明该方法对测试用例选择的有效性。此外,该文还对实验数据进行分析来展现该方法所特有的错误定位能力。实验结果表明,该方法不仅能够有效地选择出高效的测试用例,而且还能够利用这些测试用例来定位一个上下文感知应用的程序错误。Context-aware applications(CAAs) running on mobile devices are now developing quite rapidly due to the ad-vanced built-in sensor technologies. These applications constantly capture environmental information as contexts and then a-dapt to the contextual changes. However, their adaptations may contain errors when erroneous adaptation rules are trig-gered. Hence, testing these applications becomes a vital prerequisite for their development. Due to the diversity of contexts, there may be a combinatorial explosion problem during test case generating. This paper proposes a new optimization method for selecting efficient test cases from the perspective of orthogonal experiment design (OED). A common context-aware ap-plication is developed to prove the effectiveness of this method. Additionally, an analysis of the fault localization capabilities is presented. Experiment results show that our method can not only significantly select out efficient test cases but also find out the factors that cause the faults of a CAA.

关 键 词:软件测试 上下文感知应用 测试用例选择 正交试验设计 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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