首页> 外文期刊>WSEAS Transactions on Computers >Designing Test Engine for Computer-Aided Software Testing Tools
【24h】

Designing Test Engine for Computer-Aided Software Testing Tools

机译:设计用于计算机辅助软件测试工具的测试引擎

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

With the rapid development of software scale and programming languages, it is impossible to test software manually. The case for automating the software testing process has been made repeatedly and convincingly by numerous testing professionals. Automated tests can promote the efficiency of software testing and then to increase software productivity, improve software quality, and reduce cost in almost all processes of software engineering. White-box testing is one of the most important software testing strategies that can detect error even when the software specification is vague or incomplete. This paper gives a detailed description of the design and implementation of a testing engine. The testing engine, which is the kernel of a developed structured software-testing tool for the Visual Basic and C/C++ language, mainly consists of three components: program analyzer, source code instrumentation tool and intermediate database. In the testing engine, a block division mechanism and a new block-based CFG model are introduced and some block-based test adequacy criteria are extended. The programs are divided into a sequence of blocks and then instrumented and compiled in the testing engine, and all the information related to the test is saved in the intermediate database. The testing engine, acting as an agency, associates the testing automation module with instrumented executable program rather than the source code, and therefore the testing tool can easily be developed to accommodate new requirements and different testing adequacy criteria. It is also convenient to build a testing environment for multi-languages by modifying the program analyzer only, due to the flexibility of the software architecture.
机译:随着软件规模和编程语言的飞速发展,无法手动测试软件。许多测试专业人​​员反复并令人信服地提出了使软件测试过程自动化的案例。自动化测试可以提高软件测试的效率,然后在几乎所有软件工程过程中提高软件生产率,提高软件质量并降低成本。白盒测试是最重要的软件测试策略之一,即使软件规格含糊不清或不完整,也可以检测到错误。本文详细介绍了测试引擎的设计和实现。测试引擎是针对Visual Basic和C / C ++语言开发的结构化软件测试工具的内核,主要由三个组件组成:程序分析器,源代码检测工具和中间数据库。在测试引擎中,引入了块划分机制和新的基于块的CFG模型,并扩展了一些基于块的测试充分性标准。程序分为一系列块,然后在测试引擎中进行检测和编译,所有与测试有关的信息都保存在中间数据库中。作为代理的测试引擎将测试自动化模块与检测的可执行程序而不是源代码相关联,因此可以轻松开发测试工具以适应新的要求和不同的测试充分性标准。由于软件架构的灵活性,仅通过修改程序分析器为多语言构建测试环境也很方便。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号