使用静态分析对JavaScript应用程序进行综合测试

Sora Bae
{"title":"使用静态分析对JavaScript应用程序进行综合测试","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":"{\"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}","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

摘要

JavaScript对软件行业产生了巨大的影响。然而,开发人员只使用手动构建的测试用例来测试JavaScript应用程序,这使得获得合理的测试覆盖率变得困难且耗时。由于JavaScript的松散类型和极其动态的特性,仅使用现有的测试算法生成某些表单的重要测试输入是具有挑战性的。直到最近,与Java和c#等静态语言相比,用于测试JavaScript应用程序的辅助工具相对较少。本文介绍了一种集静态分析和静态测试于一体的自动测试生成工具。使用静态分析结果,我们的工具可以为JavaScript应用程序生成重要的测试输入。我们在SAFE框架上使用其静态分析器和集合测试生成方法来实现该工具。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Concolic testing with static analysis for JavaScript applications
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信