【24h】

Test case design based on Z and the classification-tree method

机译:基于Z和分类树方法的测试用例设计

获取原文

摘要

Software testing often consumes up to 50 percent of the overall software costs. A large amount of time and money within the test process is spent due to incomplete, inconsistent or ambiguous informal specifications of the test objects. A more formal approach to the early phases of software development can reduce the error rate drastically and in addition, can significantly improve the central testing activities like test case design and test evaluation. This paper presents an approach for generating test cases from formal specifications written in Z by combining the classification-tree method for partition testing with the disjunctive normal form approach. Firstly, a classification tree describing high level test cases is constructed from the formal specification of the test object. Then the high level test cases are further refined by generating a disjunctive normal form for them. The refined test cases obtained this way cover all specified aspects of the system explicitly and also contain all information necessary to evaluate the test results. The proposed combination of the classification-tree method with the disjunctive normal form approach preserves advantages of both methods, overcomes most of their limitations, and can be supported by tools.
机译:软件测试通常会消耗高达总软件成本的50%。由于测试对象的非正式规范不完整,不一致或模棱两可,因此在测试过程中花费了大量时间和金钱。在软件开发的早期阶段采用更正式的方法可以大大降低错误率,此外,还可以显着改善诸如测试用例设计和测试评估之类的集中测​​试活动。本文提出了一种方法,该方法通过将分类测试的分类树方法与析取范式方法相结合,从用Z编写的正式规范中生成测试用例。首先,根据测试对象的形式规范,构建描述高级测试用例的分类树。然后,通过为它们生成析取范式来进一步完善高级测试用例。通过这种方式获得的经过改进的测试用例明确地涵盖了系统的所有指定方面,并且还包含评估测试结果所需的所有信息。提议的分类树方法与析取范式方法的组合保留了这两种方法的优点,克服了它们的大多数局限性,并且可以由工具支持。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号