Wei Zheng, Xiaoxue Wu, Xibing Yang, Shichao Cao, Wenxin Liu, Jun Lin
{"title":"基于突变测试的多目标进化优化测试集最小化","authors":"Wei Zheng, Xiaoxue Wu, Xibing Yang, Shichao Cao, Wenxin Liu, Jun Lin","doi":"10.1109/SATE.2017.12","DOIUrl":null,"url":null,"abstract":"Context: As software evolves, the test suite tends to grow, regression testing has become prohibitively expensive. Test suite minimization is one of the most important approaches for reducing test cost. The process of test suite minimization is a trade-off between cost and other value criteria and is appropriate to be described as a many-objective optimization problem. Objective: To identify the most efficient test suite for reducing the redundant degree of test data and improving test efficiency without decreasing the defect detection ability of test data. Method: We introduce a mutation testing-based many-objective optimization approach, which gives higher priority to the fault detection ability and takes mutation score as a major objective, together with cost and three standard code coverage criteria for test suite minimization. Six classical evolutionary many-objective optimization algorithms are applied to identify efficient test suite. Three programs from the SIR repository and one larger program, space are applied for empirical study and effectiveness evaluation. Results: On the one hand, in three SIR programs experiments NSGA-II with tuning was the most effective technique. However, MOEA/D-PBI outperformed NSGA-II on the larger program (Space). On the other hand, the test cost of the optimal test suite which obtained by the many-objective optimization approach with mutation score is much lower than the one without it in tcas. Conclusions: The experimental results prove that the many-objective optimization model with the guidance of mutation score is indeed effective in reducing the test suite redundancy.","PeriodicalId":224395,"journal":{"name":"International Conference on Software Analysis, Testing and Evolution","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Test Suite Minimization with Mutation Testing-Based Many-Objective Evolutionary Optimization\",\"authors\":\"Wei Zheng, Xiaoxue Wu, Xibing Yang, Shichao Cao, Wenxin Liu, Jun Lin\",\"doi\":\"10.1109/SATE.2017.12\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Context: As software evolves, the test suite tends to grow, regression testing has become prohibitively expensive. Test suite minimization is one of the most important approaches for reducing test cost. The process of test suite minimization is a trade-off between cost and other value criteria and is appropriate to be described as a many-objective optimization problem. Objective: To identify the most efficient test suite for reducing the redundant degree of test data and improving test efficiency without decreasing the defect detection ability of test data. Method: We introduce a mutation testing-based many-objective optimization approach, which gives higher priority to the fault detection ability and takes mutation score as a major objective, together with cost and three standard code coverage criteria for test suite minimization. Six classical evolutionary many-objective optimization algorithms are applied to identify efficient test suite. Three programs from the SIR repository and one larger program, space are applied for empirical study and effectiveness evaluation. Results: On the one hand, in three SIR programs experiments NSGA-II with tuning was the most effective technique. However, MOEA/D-PBI outperformed NSGA-II on the larger program (Space). On the other hand, the test cost of the optimal test suite which obtained by the many-objective optimization approach with mutation score is much lower than the one without it in tcas. Conclusions: The experimental results prove that the many-objective optimization model with the guidance of mutation score is indeed effective in reducing the test suite redundancy.\",\"PeriodicalId\":224395,\"journal\":{\"name\":\"International Conference on Software Analysis, Testing and Evolution\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1900-01-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"International Conference on Software Analysis, Testing and Evolution\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/SATE.2017.12\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Conference on Software Analysis, Testing and Evolution","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SATE.2017.12","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Test Suite Minimization with Mutation Testing-Based Many-Objective Evolutionary Optimization
Context: As software evolves, the test suite tends to grow, regression testing has become prohibitively expensive. Test suite minimization is one of the most important approaches for reducing test cost. The process of test suite minimization is a trade-off between cost and other value criteria and is appropriate to be described as a many-objective optimization problem. Objective: To identify the most efficient test suite for reducing the redundant degree of test data and improving test efficiency without decreasing the defect detection ability of test data. Method: We introduce a mutation testing-based many-objective optimization approach, which gives higher priority to the fault detection ability and takes mutation score as a major objective, together with cost and three standard code coverage criteria for test suite minimization. Six classical evolutionary many-objective optimization algorithms are applied to identify efficient test suite. Three programs from the SIR repository and one larger program, space are applied for empirical study and effectiveness evaluation. Results: On the one hand, in three SIR programs experiments NSGA-II with tuning was the most effective technique. However, MOEA/D-PBI outperformed NSGA-II on the larger program (Space). On the other hand, the test cost of the optimal test suite which obtained by the many-objective optimization approach with mutation score is much lower than the one without it in tcas. Conclusions: The experimental results prove that the many-objective optimization model with the guidance of mutation score is indeed effective in reducing the test suite redundancy.