Automated Generation of Test Models from Semi-Structured Requirements

Jannik Fischbach, Maximilian Junker, Andreas Vogelsang, Dietmar Freudenstein
{"title":"Automated Generation of Test Models from Semi-Structured Requirements","authors":"Jannik Fischbach, Maximilian Junker, Andreas Vogelsang, Dietmar Freudenstein","doi":"10.1109/REW.2019.00053","DOIUrl":null,"url":null,"abstract":"[Context:] Model-based testing is an instrument for automated generation of test cases. It requires identifying requirements in documents, understanding them syntactically and semantically, and then translating them into a test model. One light-weight language for these test models are Cause-Effect-Graphs (CEG) that can be used to derive test cases. [Problem:] The creation of test models is laborious and we lack an automated solution that covers the entire process from requirement detection to test model creation. In addition, the majority of requirements is expressed in natural language (NL), which is hard to translate to test models automatically. [Principal Idea:] We build on the fact that not all NL requirements are equally unstructured. We found that 14% of the lines in requirements documents of our industry partner contain \"pseudo-code\"-like descriptions of business rules. We apply Machine Learning to identify such semi-structured requirements descriptions and propose a rule-based approach for their translation into CEGs. [Contribution:] We make three contributions: (1) an algorithm for the automatic detection of semi-structured requirements descriptions in documents, (2) an algorithm for the automatic translation of the identified requirements into a CEG and (3) a study demonstrating that our proposed solution leads to 86% time savings for test model creation without loss of quality.","PeriodicalId":166923,"journal":{"name":"2019 IEEE 27th International Requirements Engineering Conference Workshops (REW)","volume":"49 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-08-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 IEEE 27th International Requirements Engineering Conference Workshops (REW)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/REW.2019.00053","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7

Abstract

[Context:] Model-based testing is an instrument for automated generation of test cases. It requires identifying requirements in documents, understanding them syntactically and semantically, and then translating them into a test model. One light-weight language for these test models are Cause-Effect-Graphs (CEG) that can be used to derive test cases. [Problem:] The creation of test models is laborious and we lack an automated solution that covers the entire process from requirement detection to test model creation. In addition, the majority of requirements is expressed in natural language (NL), which is hard to translate to test models automatically. [Principal Idea:] We build on the fact that not all NL requirements are equally unstructured. We found that 14% of the lines in requirements documents of our industry partner contain "pseudo-code"-like descriptions of business rules. We apply Machine Learning to identify such semi-structured requirements descriptions and propose a rule-based approach for their translation into CEGs. [Contribution:] We make three contributions: (1) an algorithm for the automatic detection of semi-structured requirements descriptions in documents, (2) an algorithm for the automatic translation of the identified requirements into a CEG and (3) a study demonstrating that our proposed solution leads to 86% time savings for test model creation without loss of quality.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
从半结构化需求中自动生成测试模型
基于模型的测试是一种自动生成测试用例的工具。它需要识别文档中的需求,从语法和语义上理解它们,然后将它们转换为测试模型。这些测试模型的一种轻量级语言是因果图(CEG),它可以用来派生测试用例。[问题:]测试模型的创建是费力的,我们缺乏一个涵盖从需求检测到测试模型创建整个过程的自动化解决方案。此外,大多数需求是用自然语言(NL)表达的,这很难自动转换为测试模型。[主旨:]我们基于这样一个事实:并非所有的NL需求都是非结构化的。我们发现,在行业合作伙伴的需求文档中,14%的行包含类似于业务规则描述的“伪代码”。我们应用机器学习来识别这种半结构化的需求描述,并提出一种基于规则的方法将其转换为ceg。[贡献]我们做出了三个贡献:(1)一种自动检测文档中半结构化需求描述的算法,(2)一种将识别的需求自动转换为CEG的算法,(3)一项研究表明,我们提出的解决方案在不损失质量的情况下节省了86%的测试模型创建时间。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
CrowdRE: Achievements, Opportunities and Pitfalls When Interactive Graphic Storytelling Fails Process Mining for Cloud-Based Applications: A Systematic Literature Review Examination of Evaluation Method on Human Error During Work by Bioinstrumentation The Requirements Engineering Reference Model: A Fundamental Impediment to Using Formal Methods in Software Systems Development
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1