文档转换器变更影响分析与测试用例优化方法  

Change impact analysis and test cases optimization method on document converter

在线阅读下载全文

作  者:白倩倩[1] 牟永敏[1] 

机构地区:[1]北京信息科技大学计算机开放系统实验室,北京100101

出  处:《计算机应用研究》2015年第11期3332-3335,共4页Application Research of Computers

基  金:国家自然科学基金面上基金资助项目(61370129);北京市属高等学校创新团队建设与教师职业发展计划项目(IDHT20130519);北京市学科与研究生教育基金资助项目(PXM2014_014224_000032)

摘  要:针对办公文档功能点数量繁多、测试用例集庞大、回归测试重复工作量大的问题,提出了一种文档转换器回归测试用例优化选择方法。对利用可扩展式样单语言转换(extensible stylesheet language transformation,XSLT)技术来实现不同文档格式间转换的转换器,提出通过创建测试功能点和转换器式样单模板的映射关系,对转换器两个版本的XSLT式样单进行变更分析,提取变更影响域信息并映射到具体测试功能点,回归测试基于变更功能点选择测试用例。实验表明,基于XSLT式样单变更域信息选择转换器测试用例的方法在保障测试充分性的同时,可显著减少回归测试用例的数量,提高测试效率,这对转换器的回归测试工作有启发意义和实用价值。This paper proposed a test case optimization method on document converter regression test to solve the problems of office documents function points numerous, test suite huge, regression test workload heavy. For the converter using XSLT to achieve conversion between different document formats, it established the mapping relationship between test function points and converter' s style sheet templates firstly, then extracted change domain information by analyzing two versions of the XSLT style sheet and mapped the information to a specific test function point. Finally,regression test could choose test cases based on the changed function point. Experiments show that the method based on XSLT change impact domain to select test cases ensures testing' s adequacy and meanwhile significantly reduces the number of regression test cases, improves the test efficiency, thus it' s of great practical value in converter regression testing.

关 键 词:文档转换器 回归测试用例选择 XSLT技术 式样单模板 变更影响域 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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