Computer Science ›› 2017, Vol. 44 ›› Issue (11): 221-225.doi: 10.11896/j.issn.1002-137X.2017.11.033

Previous Articles     Next Articles

Test Case Retrieval Method for Different Data Model

LI Yuan-yuan, HUANG Song, HUI Zhan-wei and LI Liu-yi   

  • Online:2018-12-01 Published:2018-12-01

Abstract: The core of software testing is to design and execute test cases.In order to improve the efficiency of software testing,retrieve and share the test cases in different departments,this paper proposed the retrieval method of test case for different data model.Firstly,the test case is facetedly classified and descripted in this method,and the test case facet classification model and instantiates are proposed to provide the clues for the test case retrieval.Secondly,the test case index tree is proposed based on the instantiation of test case facet classification model,and the test cases are organized into a structure which is beneficial to the user’s retrieve.Lastly,at the time of test case retrieval for different data mo-del,through the matching of query tree and the test case index tree and keyword retrieval,it retrieves the test cases that meet the requirement from different heterogeneous databases.The experiment proves the feasibility and effectiveness of the retrieval method proposed in this paper in the practical application,which lays the foundation of test case sharing and reuse,and improves the efficiency of software testing.

Key words: Heterogeneous database,Test case reuse,Test case retrieval,Faceted classification

[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!
Full text



[1] LEI Li-hui and WANG Jing. Parallelization of LTL Model Checking Based on Possibility Measure[J]. Computer Science, 2018, 45(4): 71 -75, 88 .
[2] XIA Qing-xun and ZHUANG Yi. Remote Attestation Mechanism Based on Locality Principle[J]. Computer Science, 2018, 45(4): 148 -151, 162 .
[3] LI Bai-shen, LI Ling-zhi, SUN Yong and ZHU Yan-qin. Intranet Defense Algorithm Based on Pseudo Boosting Decision Tree[J]. Computer Science, 2018, 45(4): 157 -162 .
[4] WANG Huan, ZHANG Yun-feng and ZHANG Yan. Rapid Decision Method for Repairing Sequence Based on CFDs[J]. Computer Science, 2018, 45(3): 311 -316 .
[5] SUN Qi, JIN Yan, HE Kun and XU Ling-xuan. Hybrid Evolutionary Algorithm for Solving Mixed Capacitated General Routing Problem[J]. Computer Science, 2018, 45(4): 76 -82 .
[6] ZHANG Jia-nan and XIAO Ming-yu. Approximation Algorithm for Weighted Mixed Domination Problem[J]. Computer Science, 2018, 45(4): 83 -88 .
[7] WU Jian-hui, HUANG Zhong-xiang, LI Wu, WU Jian-hui, PENG Xin and ZHANG Sheng. Robustness Optimization of Sequence Decision in Urban Road Construction[J]. Computer Science, 2018, 45(4): 89 -93 .
[8] LIU Qin. Study on Data Quality Based on Constraint in Computer Forensics[J]. Computer Science, 2018, 45(4): 169 -172 .
[9] ZHONG Fei and YANG Bin. License Plate Detection Based on Principal Component Analysis Network[J]. Computer Science, 2018, 45(3): 268 -273 .
[10] SHI Wen-jun, WU Ji-gang and LUO Yu-chun. Fast and Efficient Scheduling Algorithms for Mobile Cloud Offloading[J]. Computer Science, 2018, 45(4): 94 -99, 116 .