首页> 外文会议>Annual Pacific northwest software quality conference >Logic Programming to Generate Complex and Meaningful Test Data
【24h】

Logic Programming to Generate Complex and Meaningful Test Data

机译:逻辑编程以生成复杂而有意义的测试数据

获取原文

摘要

Even in today's modern software engineering world, there still exist obstacles that confound testers' ability to generate test data-data that is complex and precise but also that can be generated in mass quantity quickly. In data warehouse applications, which typically contain copious historical data, it is very cumbersome and time consuming to generate data through the 'front door' of these systems via import files and simulated user interaction. This approach can also have the shortcoming of not easily allowing application testers to land data on precise points called for in functional testing. Furthermore, third party data generation tools, while excelling at generating copious data, generally don't provide application testers customization hooks that are powerful and expressive enough to generate meaningful data - particularly data where relationships are complex and where understanding of the data requires application knowledge (e.g. business logic) not found in a database schema. To address this problem, we have taken an approach using constraint logic programming; it is loosely inspired by prior work done in the area of Reverse Query Processing (RQP). The general idea is that if a tester can write a SQL SELECT query for the test data s/he targets, then using RQP the tester has the tool to generate data sets that fit that query.
机译:即使在当今的现代软件工程世界中,仍然存在障碍,使测试人员无法生成复杂而精确的测试数据,也无法快速批量生成数据。在通常包含大量历史数据的数据仓库应用程序中,通过这些系统的“前门”通过导入文件和模拟用户交互来生成数据非常麻烦且耗时。这种方法的缺点还在于,不容易让应用程序测试人员将数据放到功能测试中要求的精​​确点上。此外,第三方数据生成工具虽然在生成大量数据方面表现出色,但通常不会为应用程序测试人员提供自定义钩子,这些钩子功能强大且表达能力强,可以生成有意义的数据-特别是在关系复杂且需要理解数据的情况下需要应用程序知识的数据数据库模式中找不到(例如,业务逻辑)。为了解决这个问题,我们采用了一种使用约束逻辑编程的方法。它是从反向查询处理(RQP)领域中以前所做的工作中大致得到启发的。通常的想法是,如果测试人员可以针对目标数据编写SQL SELECT查询,则使用RQP,该测试人员可以使用该工具生成适合该查询的数据集。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号