计算机科学 ›› 2010, Vol. 37 ›› Issue (6): 159-163.

• 软件工程 • 上一篇    下一篇

Web应用测试用例生成研究

彭树深,顾庆,陈道蓄   

  1. (南京大学计算机科学与技术系 南京210093)
  • 出版日期:2018-12-01 发布日期:2018-12-01
  • 基金资助:
    本文受国家"863”项目(编号:2006AA016177)基金资助。

Study of Test Case Generation for Web Applications

PENG Shu-shen,GU Qing,CHEN Dao-xu   

  • Online:2018-12-01 Published:2018-12-01

摘要: 随着Internet的高速发展,Web应用成为软件的主流之一,Web应用程序也变得越来越复杂,从多方面着手提高Web应用的质量是Web应用开发者的必然选择。Web应用测试是保证Web应用程序质量的重要手段,测试的核心工作是生成测试用例。把现有的Web测试用例生成方法归结为4类:Capture/Replay方法、HTML分析法、源代码分析法、User-Session分析法,随后对这4类方法进行详细讨论,并归纳出这4类方法生成测试用例的一般步骤。最后总结了这4种方法的优缺点,从方法实现的难易程度、覆盖率等方面比较了它们的性能。

关键词: Web应用测试,Web测试用例生成,Web测试用例生成分类

Abstract: Along with the fast evolution of Internet, Web application development has become one of the main categories of software application development,and Web application programs have become more and more complicated. Improving the duality of Web applications from different aspects is inevitable task of Web application developers. An important way of ensuring the quality of Web applications is software testing, the core work of which is test case generation. In this paper, we classified the methods for Web test case generation into four categories; Capture/Replay, HTML analysis, Source code analysis, and User-Session analysis. We discussed these four methods in detail, and concluded general steps of generating test cases in these methods. Finally, we listed the advantages and disadvantages of the four method categories,and compared their performance from various perspectives, including the effort needed to implement the method, maximum attainable code coverage, and so on.

Key words: Web application testing, Web testing case generation, Web testing case generation classification

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!