ShanghaiTech University Knowledge Management System
Model-based automated testing of JavaScript Web applications via longer test sequences | |
2022-06 | |
发表期刊 | FRONTIERS OF COMPUTER SCIENCE (IF:3.4[JCR-2023],3.1[5-Year]) |
ISSN | 2095-2228 |
EISSN | 2095-2236 |
卷号 | 16期号:3 |
发表状态 | 已发表 |
DOI | 10.1007/s11704-020-0356-7 |
摘要 | JavaScript has become one of the most widely used languages for Web development. Its dynamic and event-driven features make it challenging to ensure the correctness of Web applications written in JavaScript. A variety of dynamic analysis techniques have been proposed which are, however, limited in either coverage or scalability. In this paper, we propose a simple, yet effective, model-based automated testing approach to achieve a high code-coverage within the time budget via testing with longer event sequences. We implement our approach as an open-source tool LJS, and perform extensive experiments on 21 publicly available benchmarks. On average, LJS is able to achieve 86.5% line coverage in 10 minutes. Compared with JSDEP, a state-of-the-art breadth-first search based automated testing tool enriched with partial order reduction, the coverage of LJS is 11%-19% higher than that of JSDEP on real-world large Web applications. Our empirical findings support that proper longer test sequences can achieve a higher code coverage in JavaScript Web application testing. |
关键词 | model-based testing automated testing JavaScript Web applications |
URL | 查看原文 |
收录类别 | SCIE ; EI |
语种 | 英语 |
WOS研究方向 | Computer Science |
WOS类目 | Computer Science, Information Systems ; Computer Science, Software Engineering ; Computer Science, Theory & Methods |
WOS记录号 | WOS:000717497100006 |
出版者 | HIGHER EDUCATION PRESS |
原始文献类型 | Article |
Scopus 记录号 | 2-s2.0-85118933837 |
来源库 | Scopus |
引用统计 | 正在获取...
|
文献类型 | 期刊论文 |
条目标识符 | https://kms.shanghaitech.edu.cn/handle/2MSLDSTB/131973 |
专题 | 信息科学与技术学院_博士生 信息科学与技术学院_PI研究组_宋富组 信息科学与技术学院_硕士生 |
通讯作者 | Song, Fu |
作者单位 | 1.School of Information Science and Technology,ShanghaiTech University,Shanghai,201210,China 2.Department of Computer Science,University of Surrey,Guildford,GU2 7XH,United Kingdom |
第一作者单位 | 信息科学与技术学院 |
通讯作者单位 | 信息科学与技术学院 |
第一作者的第一单位 | 信息科学与技术学院 |
推荐引用方式 GB/T 7714 | Gao, Pengfei,Xu, Yongjie,Song, Fu,et al. Model-based automated testing of JavaScript Web applications via longer test sequences[J]. FRONTIERS OF COMPUTER SCIENCE,2022,16(3). |
APA | Gao, Pengfei,Xu, Yongjie,Song, Fu,&Chen, Taolue.(2022).Model-based automated testing of JavaScript Web applications via longer test sequences.FRONTIERS OF COMPUTER SCIENCE,16(3). |
MLA | Gao, Pengfei,et al."Model-based automated testing of JavaScript Web applications via longer test sequences".FRONTIERS OF COMPUTER SCIENCE 16.3(2022). |
条目包含的文件 | 下载所有文件 | |||||
文件名称/大小 | 文献类型 | 版本类型 | 开放类型 | 使用许可 |
修改评论
除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。