{"title":"Targeted adequacy criteria for search-based test data generation","authors":"W. Zidoune, T. Benouhiba","doi":"10.1109/ICITES.2012.6216624","DOIUrl":null,"url":null,"abstract":"In test data generation approaches, structural coverage criteria are popular and considered cost effective mainly because they are relatively easy to implement. However, we cannot establish a direct link between achieving good structural coverage and test goals such as finding errors. On the other hand, specific criteria can explicitly target such goals but they may require a full formal specification of the program, which makes them expensive and hard to use. In this paper, we propose a new approach to describe targeted test criteria using few structural information of the system under test. The new criteria can easily describe specific situations such as errors and can be transformed into a fitness function. A search technique, in this case ACO (Ant Colony Optimization), can then be used to automatically generate adequate test data. A case study is presented to illustrate the applicably and the usefulness of the approach.","PeriodicalId":137864,"journal":{"name":"2012 International Conference on Information Technology and e-Services","volume":"58 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-03-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 International Conference on Information Technology and e-Services","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICITES.2012.6216624","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6
Abstract
In test data generation approaches, structural coverage criteria are popular and considered cost effective mainly because they are relatively easy to implement. However, we cannot establish a direct link between achieving good structural coverage and test goals such as finding errors. On the other hand, specific criteria can explicitly target such goals but they may require a full formal specification of the program, which makes them expensive and hard to use. In this paper, we propose a new approach to describe targeted test criteria using few structural information of the system under test. The new criteria can easily describe specific situations such as errors and can be transformed into a fitness function. A search technique, in this case ACO (Ant Colony Optimization), can then be used to automatically generate adequate test data. A case study is presented to illustrate the applicably and the usefulness of the approach.