期刊文献+

一种基于关系图的Web应用测试生成方法 被引量:4

An Approach to Generating Tests for Web Applications Based on Relation Graph
下载PDF
导出
摘要 Web应用的迅猛发展及其自身的复杂特性给其测试带来了一定的难度,使得传统的测试方法已不能满足需求,迫切需要新的Web测试方法和技术.定义了Web应用模式并构造其关系图以对Web应用进行建模.关系图用来建立产生路径表达式的路径生成图,继而提出一种测试路径生成方法.若提供输入值,则测试路径可以很容易地构造测试用例.为了说明问题,给出了一个简单Web登录系统作为案例.此外,根据"分而治之"的原理,当被测Web应用过于复杂时,给出了一种路径生成策略.该策略使得Web应用简单而易控制,在某种程度上限制了状态空间的爆炸.最后,从理论上阐明了本文给出方法和规则的通用性及正确性. The swift development of Web applications and their own complex characteristics have brought certain difficulty for their test.Thus,the demand cannot be satisfied by the traditional test methods and some bran-new Web test approaches are urgently required.This work defines Web application schema and constructs Web application relation graph in order to model Web applications.An approach to generating test paths is presented by establishing path-generating graph which is derived from the relation graph and used to produce path expressions.The test paths can be easily employed to construct test cases if user input values are provided.As a case study,a simple Web login system is exemplified.Moreover,a path generation strategy is suggested in accordance with the 'divide and conquer' principle when the Web application under test is complicated.The strategy makes the Web application less complex and more controllable.This also restricts the state space explosion in a sense.Finally,it illuminates in theory the generality and correctness of the approach and rules proposed.
作者 钱忠胜
出处 《小型微型计算机系统》 CSCD 北大核心 2013年第3期486-491,共6页 Journal of Chinese Computer Systems
基金 国家自然科学基金项目(61262010 61163007)资助 江西省教育厅科技计划项目(GJJ12743)资助 江西省自然科学基金项目(2010GQS0048)资助
关键词 WEB应用 关系图 测试路径 测试用例 路径表达式 Web application relation graph test path test case path expression
  • 相关文献

参考文献4

二级参考文献53

  • 1刘玲,缪淮扣.对逻辑覆盖软件测试准则的公理化评估[J].软件学报,2004,15(9):1301-1310. 被引量:9
  • 2许蕾,徐宝文.Web应用测试框架研究[J].东南大学学报(自然科学版),2004,34(6):751-755. 被引量:14
  • 3周晓宇,许蕾,徐宝文,陈火旺.Web应用的自动测试[J].计算机科学,2005,32(1):125-127. 被引量:8
  • 4章晓芳,徐宝文,聂长海,史亮.一种基于测试需求约简的测试用例集优化方法[J].软件学报,2007,18(4):821-831. 被引量:59
  • 5胡蓉,缪淮扣,刘焕洲.一种基于Web软件集成测试的建模方法[J].计算机科学,2007,34(6):253-257. 被引量:5
  • 6Li Z,Alaeddine N,Tian J.Multi-Faceted Quality and Defect Measurement for Web Software and Source Contents[J].Journal of Systems and Software,2009,83(1):18-28.
  • 7Hower R.Web Site Test Tools and Site Management Tools.Software QA and Testing Resource Center[OL].http://www.softwareqatest.com/qatweb1.html.Accessed on Feb.2010.
  • 8Lucca G A D,Fasolino A R.Testing Web-based Applications:The State of the Art and Future Trends[J].Information and Software Technology,2006(48):1172-1186.
  • 9Dobolyi K.An Exploration of User-Visible Errors to Improve Fault Detection in Web-based Applications[D].School of Engineering and Applied Science,University of Virginia,2009.
  • 10Halfond W G J,Anand S,Orso A.Precise Interface Identification to Improve Testing and Analysis of Web Applications[C] ∥The 18th International Symposium on Software Testing and Analysis.ACM,NY,USA,2009.

共引文献25

同被引文献18

引证文献4

二级引证文献14

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部