Techniques to generate UTP-based test cases from sequence diagrams using M2M (Model-to-Model) transformation

Yongjin Seo, E. Cheon, Jin-A. Kim, H. Kim
{"title":"Techniques to generate UTP-based test cases from sequence diagrams using M2M (Model-to-Model) transformation","authors":"Yongjin Seo, E. Cheon, Jin-A. Kim, H. Kim","doi":"10.1109/ICIS.2016.7550832","DOIUrl":null,"url":null,"abstract":"In order to conduct model based testing of sequence diagrams, test cases should be automatically generated from sequence diagrams. To this end, the scenarios expressed by the sequence diagrams are identified and paths that satisfy the test coverage are extracted to generate test information. However, since sequence diagrams express loop, optional, and alternative information using combined fragments, an automatic generation of test cases from sequence diagram is complicated. To solve this problem, in this paper, a model transformation process that transforms from sequence diagrams into activity diagrams is defined, the scenarios of sequence diagrams are represented in the form of control flows by the transform process. Next, test coverage is applied to generate test cases. The process to generate test cases from sequence diagrams is shown through case studies.","PeriodicalId":336322,"journal":{"name":"2016 IEEE/ACIS 15th International Conference on Computer and Information Science (ICIS)","volume":"28 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-06-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 IEEE/ACIS 15th International Conference on Computer and Information Science (ICIS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICIS.2016.7550832","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

Abstract

In order to conduct model based testing of sequence diagrams, test cases should be automatically generated from sequence diagrams. To this end, the scenarios expressed by the sequence diagrams are identified and paths that satisfy the test coverage are extracted to generate test information. However, since sequence diagrams express loop, optional, and alternative information using combined fragments, an automatic generation of test cases from sequence diagram is complicated. To solve this problem, in this paper, a model transformation process that transforms from sequence diagrams into activity diagrams is defined, the scenarios of sequence diagrams are represented in the form of control flows by the transform process. Next, test coverage is applied to generate test cases. The process to generate test cases from sequence diagrams is shown through case studies.
使用M2M(模型到模型)转换从序列图生成基于utp的测试用例的技术
为了对序列图进行基于模型的测试,测试用例应该从序列图中自动生成。为此,序列图所表达的场景被识别出来,满足测试覆盖的路径被提取出来以生成测试信息。然而,由于序列图使用组合片段表达循环、可选和可选信息,因此从序列图自动生成测试用例是复杂的。为了解决这一问题,本文定义了从序列图到活动图的模型转换过程,并通过转换过程将序列图的场景以控制流的形式表示出来。接下来,应用测试覆盖来生成测试用例。从序列图生成测试用例的过程是通过案例研究来展示的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:604180095
Book学术官方微信