首页 | 本学科首页   官方微博 | 高级检索  
     

坡度坡向量算程序蜕变测试方法
引用本文:黄松,丁瑞浩,李辉,姚奕.坡度坡向量算程序蜕变测试方法[J].计算机应用,2013,33(6):1657-1745.
作者姓名:黄松  丁瑞浩  李辉  姚奕
作者单位:1. 解放军理工大学 指挥信息系统学院, 南京 210007 2. 全军军事训练软件测评中心, 南京 210007
基金项目:国家863计划项目(2009AA01Z402);江苏省自然科学基金资助项目(BK2012059, BK2012060);解放军理工大学预研基金资助项目(20110202,20110210)
摘    要:坡度、坡向量算是地理信息系统的主要功能之一。然而,由于截断误差、舍入误差以及误差传播的影响,导致测试判定难以获取。基于此,提出将蜕变测试应用于坡度、坡向量算程序的测试中,通过分析坡度、坡向量算程序功能的几何属性、数值计算特性以及具体实现算法等提出蜕变关系,并通过分析蜕变关系的适用范围,形成坡度坡向量算程序蜕变测试方法。最后,通过实例研究,验证了提出的蜕变关系在消除不同类型变异方面的有效性。实验结果表明,该方法可有效解决坡度、坡向量算程序的测试判定问题,同时也为解决地理信息系统中其他空间度量程序的测试判定问题提供了借鉴,进一步拓展了蜕变测试技术的应用范围。

关 键 词:坡度    坡向    蜕变测试    蜕变关系
收稿时间:2012-12-20
修稿时间:2013-02-26

Research on metamorphic testing of slope and aspect calculating programs
HUANG SONG DING Ruihao LI Hui YAO Yi.Research on metamorphic testing of slope and aspect calculating programs[J].journal of Computer Applications,2013,33(6):1657-1745.
Authors:HUANG SONG DING Ruihao LI Hui YAO Yi
Affiliation:1. Collage of Command Information System, PLA University of Science and Technology, Nanjing Jiangsu 210007, China
2. PLA Military Software Testing and Evaluation Center, Nanjing Jiangsu 210007, China
Abstract:Slope and aspect calculating is a basic function of Geographic Information System (GIS). However, due to the existence of rounding and truncation errors, it is difficult to obtain the oracles of the implementation. In order to provide test oracles, this paper applied metamorphic testing technique into the testing of slope and aspected calculating programs, and designed several metamorphic relations by analyzing the geometric and numerical features, algorithm of slope and aspect calculating programs. It also analyzed the applicable range of these metamorphic relations, and formed the metamorphic testing method of slope and aspect calculating programs that was proved useful based on mutant testing. Our researches can not only be used as references for alleviating the oracle problem of other kinds of programs in GIS, but also help to promote the development of metamorphic testing technique.
Keywords:slope                                                                                                                          aspect                                                                                                                          metamorphic testing                                                                                                                          metamorphic relation
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号