首页> 外文期刊>Information and software technology >Building Test Cases And Oracles To Automate The Testing Of Web Database Applications
【24h】

Building Test Cases And Oracles To Automate The Testing Of Web Database Applications

机译:建立测试用例和Oracle以自动化Web数据库应用程序的测试

获取原文
获取原文并翻译 | 示例
       

摘要

Many organizations rely on web applications that use back-end databases to store important data. Testing such applications requires significant effort. Manual testing alone is often impractical, so testers also rely on automated testing techniques. However, current automated testing techniques may produce false positives (or false negatives) even in a perfectly working system because the outcome of a test case depends on the state of the database which changes over time as data is inserted and deleted. The Automatic Database Tester (AutoDBT) generates functional test cases that account for database updates. Auto-DBT takes as input a model of the application and a set of testing criteria. The model consists of a state transition diagram that shows how users navigate pages, a data specification that captures how data flows, and an update specification that shows how the database is updated. AutoDBT generates guard queries to determine whether the database is in a state conducive to performing and evaluating tests. AutoDBT also generates partial oracles to help validate whether a back-end database is updated correctly during testing. This paper describes the design of AutoDBT, a prototype implementation, several experiments with the prototype, and four case studies.
机译:许多组织依赖使用后端数据库存储重要数据的Web应用程序。测试此类应用程序需要花费大量精力。单独进行手动测试通常是不切实际的,因此测试人员还依赖于自动化测试技术。但是,即使在完美的工作系统中,当前的自动化测试技术也可能会产生误报(或误报),因为测试用例的结果取决于数据库的状态,而数据库的状态会随着数据的插入和删除而随着时间而变化。自动数据库测试器(AutoDBT)生成说明数据库更新的功能测试用例。 Auto-DBT将应用程序模型和一组测试标准作为输入。该模型由一个状态转换图和一个更新规范组成,状态转换图显示用户如何浏览页面,数据说明捕获数据的流动方式,更新说明显示数据库的更新方式。 AutoDBT生成保护查询,以确定数据库是否处于有利于执行和评估测试的状态。 AutoDBT还会生成部分Oracle,以帮助验证后端数据库在测试期间是否正确更新。本文介绍了AutoDBT的设计,原型实现,使用该原型的几个实验以及四个案例研究。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号