首页> 外文会议>2010 IEEE Region 10 Conference >Validation of stepwise refinement with test cases generated from formal specification
【24h】

Validation of stepwise refinement with test cases generated from formal specification

机译:用正式规范生成的测试用例验证逐步完善

获取原文
获取外文期刊封面目录资料

摘要

In software development, there is a problem that development cost increases by back track when bugs which are included in the phase of requirement definition are found in the after phases. As an effective method to solve the problem, we have a method with a formal specification language for requirement. A formal specification language can describe the functional requirement exactly with mathematical in and verifies the specification with tools. In formal method, we change the specification in a formal specification to executable program with stepwise refinement. At stepwise refinement step, we find bugs by proof of the specification. Herewith, we can get the program of the high level reliability. But, it is expensive to develop with proof. There is a method to verify specification with test cases generated by manpower. But, there are possibilities of including bugs in specification because of generating by manpower. We propose the method to validate stepwise refinement with lightweight method. We generate test cases from formal specification in VDM-SL before refinement, and test the specification after refinement. With this validation method, it is possible to validate of refinement focused state transition model. We implemented test case generator tool whose test case is executed with VDMUnit and VDMTools. We can confirm the availability of the validation of refinement with test case generator tool we implemented.
机译:在软件开发中,存在一个问题,即在后续阶段中发现需求定义阶段中所包含的错误时,开发成本就会增加。作为解决问题的有效方法,我们提供了一种具有正式规范语言的需求方法。正式的规范语言可以准确地用数学方法描述功能需求,并使用工具来验证规范。在形式方法中,我们通过逐步完善将形式规范中的规范更改为可执行程序。在逐步完善的步骤中,我们通过规范证明来发现错误。因此,我们可以获得高可靠性的程序。但是,有证据进行开发是昂贵的。有一种方法可以通过人工生成的测试用例来验证规范。但是,由于人为产生,可能会在规范中包含错误。我们提出了用轻量方法验证逐步细化的方法。我们在精炼之前根据VDM-SL中的正式规范生成测试用例,并在精炼之后测试该规范。使用这种验证方法,可以验证精炼侧重状态转换模型。我们实现了测试用例生成器工具,该工具的测试用例是通过VDMUnit和VDMTools执行的。我们可以使用我们实施的测试用例生成器工具来确认细化验证的可用性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号