{"title":"Concolic testing with static analysis for JavaScript applications","authors":"Sora Bae","doi":"10.1145/2584469.2584471","DOIUrl":null,"url":null,"abstract":"JavaScript has given a great deal of impacts on the software industry. However, developers test JavaScript applications only with manually constructed test cases, which makes it difficult and time-consuming to obtain reasonable test coverage. Because of the loosely-typed and extremely dynamic features of JavaScript, generating nontrivial test inputs of certain forms only with existing testing algorithms has been challenging. Until recently, available assistance tools for testing JavaScript applications are relatively little compared to static languages such as Java and C#. In this paper, we introduce an automatic test generation tool, which combines concolic testing with static analysis. Using the static analysis results, our tool can generate nontrivial test inputs for JavaScript applications. We implement the tool on top of the SAFE framework using its static analyzer and a concolic test generation approach.","PeriodicalId":284672,"journal":{"name":"International Conference on Modularity","volume":"15 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-04-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Conference on Modularity","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2584469.2584471","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
JavaScript has given a great deal of impacts on the software industry. However, developers test JavaScript applications only with manually constructed test cases, which makes it difficult and time-consuming to obtain reasonable test coverage. Because of the loosely-typed and extremely dynamic features of JavaScript, generating nontrivial test inputs of certain forms only with existing testing algorithms has been challenging. Until recently, available assistance tools for testing JavaScript applications are relatively little compared to static languages such as Java and C#. In this paper, we introduce an automatic test generation tool, which combines concolic testing with static analysis. Using the static analysis results, our tool can generate nontrivial test inputs for JavaScript applications. We implement the tool on top of the SAFE framework using its static analyzer and a concolic test generation approach.