{"title":"面向重用的测试用例聚类方法","authors":"Yaqing Shi, Song Huang, Jinyong Wan","doi":"10.1109/DSA56465.2022.00028","DOIUrl":null,"url":null,"abstract":"Different types of data are generated in each stage of software testing. There are a lot of test case data in the historical test asset library, including some case data with high similarity. Clustering test cases can effectively reduce the resource consumption and time cost of reusing test cases and improve the efficiency of test case recommendation. This paper proposes a reuse-oriented clustering method for test cases. Firstly, test case data of historical test projects of command-and-control system are collected, test case corpus is constructed, and word segmentation experiments are carried out using this corpus. Experimental tools are determined by comparing the experimental effects of current mainstream natural language word segmentation tools with self-defining dictionaries. Then, the keywords of test cases are extracted by keyword extraction algorithm, and the test case package is obtained by Spectral Clustering algorithm based on the test case similarity matrix and keyword similarity matrix. Finally, the validity of the proposed method is verified by experimental comparison on the constructed test case corpus.","PeriodicalId":208148,"journal":{"name":"2022 9th International Conference on Dependable Systems and Their Applications (DSA)","volume":"19 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A Reuse-oriented Clustering Method for Test Cases\",\"authors\":\"Yaqing Shi, Song Huang, Jinyong Wan\",\"doi\":\"10.1109/DSA56465.2022.00028\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Different types of data are generated in each stage of software testing. There are a lot of test case data in the historical test asset library, including some case data with high similarity. Clustering test cases can effectively reduce the resource consumption and time cost of reusing test cases and improve the efficiency of test case recommendation. This paper proposes a reuse-oriented clustering method for test cases. Firstly, test case data of historical test projects of command-and-control system are collected, test case corpus is constructed, and word segmentation experiments are carried out using this corpus. Experimental tools are determined by comparing the experimental effects of current mainstream natural language word segmentation tools with self-defining dictionaries. Then, the keywords of test cases are extracted by keyword extraction algorithm, and the test case package is obtained by Spectral Clustering algorithm based on the test case similarity matrix and keyword similarity matrix. Finally, the validity of the proposed method is verified by experimental comparison on the constructed test case corpus.\",\"PeriodicalId\":208148,\"journal\":{\"name\":\"2022 9th International Conference on Dependable Systems and Their Applications (DSA)\",\"volume\":\"19 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-08-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 9th International Conference on Dependable Systems and Their Applications (DSA)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/DSA56465.2022.00028\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 9th International Conference on Dependable Systems and Their Applications (DSA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/DSA56465.2022.00028","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Different types of data are generated in each stage of software testing. There are a lot of test case data in the historical test asset library, including some case data with high similarity. Clustering test cases can effectively reduce the resource consumption and time cost of reusing test cases and improve the efficiency of test case recommendation. This paper proposes a reuse-oriented clustering method for test cases. Firstly, test case data of historical test projects of command-and-control system are collected, test case corpus is constructed, and word segmentation experiments are carried out using this corpus. Experimental tools are determined by comparing the experimental effects of current mainstream natural language word segmentation tools with self-defining dictionaries. Then, the keywords of test cases are extracted by keyword extraction algorithm, and the test case package is obtained by Spectral Clustering algorithm based on the test case similarity matrix and keyword similarity matrix. Finally, the validity of the proposed method is verified by experimental comparison on the constructed test case corpus.