Amit Goyal, R. Shyamasundar, G. Sivakumar, R. Jetley, S. Ramaswamy
{"title":"贪心、GE和GRE启发式的实证分析","authors":"Amit Goyal, R. Shyamasundar, G. Sivakumar, R. Jetley, S. Ramaswamy","doi":"10.1145/3452383.3452389","DOIUrl":null,"url":null,"abstract":"Whenever a software evolves, regression testing needs to be performed which ensures evolution does not affect the existing software. Test suite minimization is one of the regression testing techniques which takes a test suite and provides a minimized test suite (representative set) which is sufficient to cover all the requirements. This significantly helps in reducing the testing cost, effort and time. In this paper, we perform an empirical study on standard minimization techniques: Greedy, Greedy Essential (GE) and Greedy Redundant Essential (GRE), to compare their minimized test suite size (output size), and their run time to calculate the minimized test suite, with varying percentage of essential test cases. We assume that the number of requirements that a test case satisfies is a random variable which follows a normal distribution. This study analyzes trends in both output size and run time of the heuristics and enables us to set guidelines for the testing team to choose appropriate heuristics for performing the test suite minimization for all possible values of ratio of overlapping (defined as the average number of test cases which satisfy a requirement).","PeriodicalId":378352,"journal":{"name":"14th Innovations in Software Engineering Conference (formerly known as India Software Engineering Conference)","volume":"53 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-02-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Empirical Analysis of Greedy, GE and GRE Heuristics\",\"authors\":\"Amit Goyal, R. Shyamasundar, G. Sivakumar, R. Jetley, S. Ramaswamy\",\"doi\":\"10.1145/3452383.3452389\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Whenever a software evolves, regression testing needs to be performed which ensures evolution does not affect the existing software. Test suite minimization is one of the regression testing techniques which takes a test suite and provides a minimized test suite (representative set) which is sufficient to cover all the requirements. This significantly helps in reducing the testing cost, effort and time. In this paper, we perform an empirical study on standard minimization techniques: Greedy, Greedy Essential (GE) and Greedy Redundant Essential (GRE), to compare their minimized test suite size (output size), and their run time to calculate the minimized test suite, with varying percentage of essential test cases. We assume that the number of requirements that a test case satisfies is a random variable which follows a normal distribution. This study analyzes trends in both output size and run time of the heuristics and enables us to set guidelines for the testing team to choose appropriate heuristics for performing the test suite minimization for all possible values of ratio of overlapping (defined as the average number of test cases which satisfy a requirement).\",\"PeriodicalId\":378352,\"journal\":{\"name\":\"14th Innovations in Software Engineering Conference (formerly known as India Software Engineering Conference)\",\"volume\":\"53 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-02-25\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"14th Innovations in Software Engineering Conference (formerly known as India Software Engineering Conference)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3452383.3452389\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"14th Innovations in Software Engineering Conference (formerly known as India Software Engineering Conference)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3452383.3452389","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Empirical Analysis of Greedy, GE and GRE Heuristics
Whenever a software evolves, regression testing needs to be performed which ensures evolution does not affect the existing software. Test suite minimization is one of the regression testing techniques which takes a test suite and provides a minimized test suite (representative set) which is sufficient to cover all the requirements. This significantly helps in reducing the testing cost, effort and time. In this paper, we perform an empirical study on standard minimization techniques: Greedy, Greedy Essential (GE) and Greedy Redundant Essential (GRE), to compare their minimized test suite size (output size), and their run time to calculate the minimized test suite, with varying percentage of essential test cases. We assume that the number of requirements that a test case satisfies is a random variable which follows a normal distribution. This study analyzes trends in both output size and run time of the heuristics and enables us to set guidelines for the testing team to choose appropriate heuristics for performing the test suite minimization for all possible values of ratio of overlapping (defined as the average number of test cases which satisfy a requirement).