首页> 外文期刊>Automated software engineering >JWalk: a tool for lazy, systematic testing of java classes by design introspection and user interaction
【24h】

JWalk: a tool for lazy, systematic testing of java classes by design introspection and user interaction

机译:JWalk:通过设计自省和用户交互来懒惰,系统地测试Java类的工具

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

摘要

Popular software testing tools, such as JUnit, allow frequent retesting of modified code; yet the manually created test scripts are often seriously incomplete. A unit-testing tool called JWalk has therefore been developed to address the need for systematic unit testing within the context of agile methods. The tool operates directly on the compiled code for Java classes and uses a new lazy method for inducing the changing design of a class on the fly. This is achieved partly through introspection, using Java's reflection capability, and partly through interaction with the user, constructing and saving test oracles on the fly. Predictive rules reduce the number of oracle values that must be confirmed by the tester. Without human intervention, JWalk performs bounded exhaustive exploration of the class's method protocols and may be directed to explore the space of algebraic constructions, or the intended design state-space of the tested class. With some human interaction, JWalk performs up to the equivalent of fully automated state-based testing, from a specification that was acquired incrementally.
机译:流行的软件测试工具,例如JUnit,允许频繁地重新测试修改后的代码。但是,手动创建的测试脚本通常严重不完整。因此,开发了一种称为JWalk的单元测试工具,以解决在敏捷方法的上下文中进行系统单元测试的需求。该工具直接在Java类的编译代码上运行,并使用新的惰性方法来动态地诱导类的更改设计。这部分是通过自省,使用Java的反射功能来实现的,部分是通过与用户的交互,动态地构建和保存测试Oracle来实现的。预测规则减少了必须由测试人员确认的oracle值的数量。在无需人工干预的情况下,JWalk可以对类的方法协议进行有穷尽的探索,并且可以直接探索代数构造的空间或被测类的预期设计状态空间。通过一些人机交互,JWalk可以执行从逐步获得的规范到完全基于状态的全自动测试的性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号