Automatic Test Sequence Generation and Functional Coverage Measurement From UML Sequence Diagrams

Author:

Ekici Nazım Umut1,Tuglular Tugkan1ORCID

Affiliation:

1. Izmir Institute of Technology, Turkey

Abstract

Sequence diagrams define functional requirements through use cases. However, their visual form limits their usability in the later stages of the development life cycle. This work proposes a method to transform sequence diagrams into graph-based event sequence graphs, allowing the application of graph analysis methods and defining graph-based coverage criteria. This work explores these newfound abilities in two directions. The first is to use coverage criteria along with existing tests to measure their coverage levels, providing a metric of how well they address the scenarios defined in sequence diagrams. The second is to use coverage criteria to automatically generate effective and efficient acceptance test cases based on the scenarios defined in sequence diagrams. The transformation method is validated with over eighty non-trivial projects. The complete method is validated through a non-trivial example. The results show that the test cases generated with the proposed method are more effective at exposing faults and more efficient in test input size than user-generated test cases.

Publisher

IGI Global

Subject

Management of Technology and Innovation,Information Systems

Reference39 articles.

1. Alferez, M., Pastore, F., Sabetzadeh, M., Briand, L., & Riccardi, J. R. (2019). Bridging the gap between requirements modeling and behavior-driven development. [Presentation]. The 2019 ACM/IEEE 22nd International Conference on Model Driven Engineering Languages and Systems (MODELS), Munich, Germany.

2. Introduction to Software Testing

3. Atem de Carvalho, R., Soares Manhães, R., & Others. (2010). Filling the gap between business process modeling and behavior driven development. ArXiv E-Prints, arXiv-1005.

4. Belli, F. (2001, Month Day). Finite state testing and analysis of graphical user interfaces. [Proceedings] The 12th International Symposium on Software Reliability Engineering, Hong Kong.

5. Testing is an Event-Centric Activity

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3