计算机科学 ›› 2017, Vol. 44 ›› Issue (11): 221-225.doi: 10.11896/j.issn.1002-137X.2017.11.033
• 第六届全国软件分析测试与演化学术会议 • 上一篇 下一篇
李园园,黄松,惠战伟,李留义
LI Yuan-yuan, HUANG Song, HUI Zhan-wei and LI Liu-yi
摘要: 软件测试的核心是设计和执行测试用例。为了提高软件测试的效率,实现不同单位测试用例的共享和复用,提出面向不同数据模式的测试用例检索方法。该方法首先对测试用例进行刻面分类和描述,提出测试用例的刻面分类模型并将其实例化,为测试用例的检索提供线索;然后,在实例化测试用例刻面分类模型的基础上提出测试用例索引树,把测试用例组织成有利于用户检索的结构;最后,在进行面向不同数据模式的测试用例检索时,通过检索条件查询树与测试用例索引树的匹配和不同异构数据库中测试用例关键字的匹配,从不同的异构数据库中检索出符合用户需求的测试用例。通过实验验证了该方法在实际应用中的可行性和有效性,为测试用例的共享和复用奠定了基础,提高了软件测试的效率。
[1] MA L,XIE B,YANG F Q.The Unified Facet-Based Method to Retrieve Component in Multi-Library[J].Acta Electronica Sinica,2002,30(12a):2149-2152 .(in Chinese) 马亮,谢冰,杨芙清.多构件库统一刻面检索机制[J].电子学报,2002,30(12a):2149-2152. [2] LI W W,DUAN M Y.A Study on the Software Test Case Reu-se Model of Featuire Oriented[C]∥Proceedings of 2014 IEEE 3rd International Conference on Cloud Computing and Intelligence Systems.2014:241-246. [3] YIN P.Study on reusable test case[J].Computer Applications,2010,30(5):1309-1311.(in Chinese) 尹平.可复用测试用例研究[J].计算机应用,2010,30(5):1309-1311. [4] ZHANG J,TONG W Q,CAI L Z.Reusing Test Case Based on the Function Point[J].Journal of Donghua University(English Edition),2014,31(4):441-446. [5] SHANG D J,HAO K G,GE W,et al.A Study of Test Cases and Reuse in Software Testing[J].Computer Technology and Deve-lopment,2006,6(1):69-72.(in Chinese) 尚冬娟,郝克刚,葛玮,等.软件测试中的测试用例及复用研究[J].计算机技术展,2006,6(1):69-72. [6] JIANG H,NIE L,SUN Z,et al.ROSF:Leveraging Information Retrieval and Supervised Learning for Recommending Code Snippets[C]∥IEEE Transactions on Services Computing.1999. [7] LIU X Q,YANG G X,CAI L Z,et al.Ontology D decription and Retrieval of Test Case Based on Reuse Behaviour[J].Computer Applications and Software,2011,28(10):65-68.(in Chinese) 刘小齐,杨根兴,蔡立志,等.基于复用行为的测试用例本体描述和检索[J].计算机应用与软件,2011,28(10):65-68. [8] PENG X,ZHAO W G,XIAO J.Description and R etrieval of Component Based on Ontology[J].Journal of Nanjing University,2005,41(z1):470-476.(in Chinese) 彭鑫,赵文耕,肖军.基于本体的构件描述和检索[J].南京大学学报,2005,41(z1):470-476. [9] 马锟.基于刻面分类模式的构件检索技术研究[D].大连:大连海事大学,2006. [10] ZHANG J G,ZHANG W S,ZHANG X G,et al.Research on Retrieving Method for Facet Classified Component Based on Term- Space Coding[J].Computer Engineering and Applications,2006,42(17):153-156.(in Chinese) 张聚广,张维石,张秀国,等.基于空间编码的刻面分类构件检索方法研究[J].计算机工程与应用,2006,42(17):153-156. [11] CHEN Y,SHEN J.Description and Retrieval of ComponentBasedo on Ontology[J].Computer Applications and Software,2007,24(7):30-32.(in Chinese) 陈颖,沈军.基于本体的构件描述与检索[J].计算机应用与软件,2007,24(7):30-32. [12] SHENG Y F,ZHANG W S,ZHANG X G,et al.Research on Transformation Mechanism of Component Retrieval Condition in Multi-Library[J].Computer Engineering and Applications,2006,42(25):23-26.(in Chinese) 盛义芳,张维石,张秀国,等.面向多构件库的检索条件转换机制研究[J].计算机工程与应用,2006,42(25):23-26. [13] 岳慧敏.基于语义描述的构件检索技术研究[D].青岛:中国海洋大学,2012. [14] GAO Q,ZHANG X M,BIAN X F.The Study of Faceted Classification Scheme of the Specific Domain-Based RSL[J].Compu-ter Engineering and Applications,2003,39(30):82-84.(in Chinese) 高强,张晓明,边小凡.基于特定领域构件库系统中刻面分类模式的研究[J].计算机工程与应用,2003,39(30):82-84. |
No related articles found! |
|