{"title":"Reference-Based Testing Technique for Automated Test Generation","authors":"Eunha Kim, Seokmoon Ryoo","doi":"10.1109/ICCSA.2010.58","DOIUrl":null,"url":null,"abstract":"Abstract-This paper introduces a technique to generate tests automatically for the legacy code by utilizing existing software assets. Many aspects of the legacy code needs to be tested, such as, classes, methods, interfaces, relations, dependencies, etc. The proposed technique automatically generates tests by examining software packages that use the system under test to be tested. It presents an automatic test method based on searching calls to the APIs being tested in available repositories, ranking the relevance of the mined calls, and using them to generate test cases. It makes three important contributions for the issue. First, it provides an automatic way to build a test skeleton. Second, it finds previously unknown bugs and obviously unused dead codes by achieving high test coverage. Finally, developers confidently make changes to the codes written by someone else.","PeriodicalId":405597,"journal":{"name":"2010 International Conference on Computational Science and Its Applications","volume":"17 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-03-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2010 International Conference on Computational Science and Its Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCSA.2010.58","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Abstract-This paper introduces a technique to generate tests automatically for the legacy code by utilizing existing software assets. Many aspects of the legacy code needs to be tested, such as, classes, methods, interfaces, relations, dependencies, etc. The proposed technique automatically generates tests by examining software packages that use the system under test to be tested. It presents an automatic test method based on searching calls to the APIs being tested in available repositories, ranking the relevance of the mined calls, and using them to generate test cases. It makes three important contributions for the issue. First, it provides an automatic way to build a test skeleton. Second, it finds previously unknown bugs and obviously unused dead codes by achieving high test coverage. Finally, developers confidently make changes to the codes written by someone else.