Validation of stepwise refinement with test cases generated from formal specification

Shinya Yamada, A. Keijiro, S. Kusakabe, Y. Omori
{"title":"Validation of stepwise refinement with test cases generated from formal specification","authors":"Shinya Yamada, A. Keijiro, S. Kusakabe, Y. Omori","doi":"10.1109/TENCON.2010.5685923","DOIUrl":null,"url":null,"abstract":"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.","PeriodicalId":101683,"journal":{"name":"TENCON 2010 - 2010 IEEE Region 10 Conference","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"TENCON 2010 - 2010 IEEE Region 10 Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/TENCON.2010.5685923","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

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.
使用从正式规范生成的测试用例逐步细化的验证
在软件开发中,当需求定义阶段中包含的错误在后续阶段中被发现时,会导致开发成本的增加。作为解决这一问题的有效方法,我们提出了一种用形式化规范语言描述需求的方法。形式化的规范语言可以用数学方法准确地描述功能需求,并用工具对规范进行验证。在形式化方法中,我们将形式化规范中的规范逐步细化为可执行程序。在逐步细化阶段,我们通过证明规范来发现bug。由此,我们可以得到高可靠性的方案。但是,开发证据是昂贵的。有一种方法可以用人工生成的测试用例来验证规格说明。但是,由于人工生成的原因,存在在规范中包含bug的可能性。我们提出了用轻量级方法验证逐步细化的方法。在细化之前,我们从VDM-SL中的正式规范生成测试用例,并在细化之后对规范进行测试。使用这种验证方法,可以验证以细化为重点的状态转换模型。我们实现了测试用例生成器工具,它的测试用例是用VDMUnit和VDMTools来执行的。我们可以用我们实现的测试用例生成器工具确认精化验证的可用性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信