A preliminary study of test case generation by CafeOBJ rewrite specifications

Masaki Nakamura
{"title":"A preliminary study of test case generation by CafeOBJ rewrite specifications","authors":"Masaki Nakamura","doi":"10.1109/GCCE.2016.7800419","DOIUrl":null,"url":null,"abstract":"In the OTS/CafeOBJ method, systems are described in CafeOBJ algebraic specification language, and verified by using equational reasoning. A proof score is a script of verification. We have proposed a method which generate skeleton Java codes and test cases from specifications and proof scores, however, test cases generated from the method are not complete, that is, there are blanks to be filled to be executed. In this study, we propose a way to instantiate the generated test cases by using CafeOBJ rewrite specifications and search command to obtain a test case generation method which generate executable test cases.","PeriodicalId":416104,"journal":{"name":"2016 IEEE 5th Global Conference on Consumer Electronics","volume":"34 4","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 IEEE 5th Global Conference on Consumer Electronics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/GCCE.2016.7800419","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

In the OTS/CafeOBJ method, systems are described in CafeOBJ algebraic specification language, and verified by using equational reasoning. A proof score is a script of verification. We have proposed a method which generate skeleton Java codes and test cases from specifications and proof scores, however, test cases generated from the method are not complete, that is, there are blanks to be filled to be executed. In this study, we propose a way to instantiate the generated test cases by using CafeOBJ rewrite specifications and search command to obtain a test case generation method which generate executable test cases.
对CafeOBJ重写规范生成测试用例的初步研究
在OTS/CafeOBJ方法中,用CafeOBJ代数规范语言对系统进行描述,并利用方程推理对系统进行验证。证明分数是验证的脚本。我们已经提出了一种从规范和证明分数中生成框架Java代码和测试用例的方法,然而,从该方法生成的测试用例是不完整的,也就是说,有空白需要填充来执行。在本研究中,我们提出了一种使用CafeOBJ重写规范和搜索命令对生成的测试用例进行实例化的方法,以获得生成可执行测试用例的测试用例生成方法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信