计算技术与自动化2017,Vol.36Issue(3):109-113,5.
基于ANTLR的Web应用测试脚本自动重构方法
ANTLR-based Automatic Refactoring Approach to Test Script of Web Application
摘要
Abstract
Web applications have been widely used in various fields ,in order to guarantee the quality of Web applications ,it is necessary to test Web applications in detail.Script-based automated testing is becoming more and more pop-ular ,and it has gradually been applied in Web applications test. Functional test scripts usually used to test the functionality and interfaces of Web applications. It is difficult to find the memory defects or performance defects that may exist in the Web applications.So many researchers test the defect of the Web applications by extending the functional test script or rewriting the performance test script ,however it is inefficient. In order to solve this problem ,we propose an automatically refactoring approach of test scripts based on ANTLR. The approach was used to optimize the test script and accelerate test script execu -tion speed. It can expose defects of Web applications by executing enhanced the test script .关键词
Web应用/软件测试/ANTLR/脚本重构Key words
web application/software test/ANTLR/script refactoring分类
信息技术与安全科学引用本文复制引用
周辉,钱巨..基于ANTLR的Web应用测试脚本自动重构方法[J].计算技术与自动化,2017,36(3):109-113,5.基金项目
国防基础科研计划(JCKY2016206B001 ,JCKY2014206C002) (JCKY2016206B001 ,JCKY2014206C002)
武汉大学国家重点实验室开放课题(SKLSE2014-10-13) (SKLSE2014-10-13)
江苏省政策引导类计划(产学研合作)项目(BY2016003-02) . (产学研合作)