Automated Test Case Generation Using UML Class & Sequence Diagram

Syed Asad Ali Shah

University Institute of Information Technology, PMAS Arid Agriculture University, Rawalpindi, Pakistan

Raja Khaim Shahzad

University Institute of Information Technology, PMAS Arid Agriculture University, Rawalpindi, Pakistan

Syed Shafique Ali Bukhari

University Institute of Information Technology, PMAS Arid Agriculture University, Rawalpindi, Pakistan

Mamoona Humayun *

University Institute of Information Technology, PMAS Arid Agriculture University, Rawalpindi, Pakistan

*Author to whom correspondence should be addressed.


Abstract

It is identically significant in today's vastly dynamic background with fluctuating requirements to improve test plans at each phase of the Software Development Life Cycle. Testing helps to make sure that the final software product works according to user needs and requirements. Various testing techniques are being used in order to test software according to its nature and complexity. Research demonstrations that the numeral software fails on account of such variations because appropriate testing is not possible on outmoded requirements. Some researchers have tried to figure out the ways to make automatic tools that generates test cases but there is small amount of studies done in achievement of this approach through UML Class diagram. Further, the growing complication of the projects mark manual testing infeasible. It demands for automatic testing of requirements to keep check on the variations. Many of the former approaches use intermediate forms for testing software that makes automation difficult. In this paper, we have highlighted the gaps and flaws in previous work. Based on identified gaps, a simple and optimal approach to generate test cases by extracting class diagram along with sequence diagram is proposed. In this approach, a simple and easily understandable framework is developed that uses UML class and sequence diagrams to generate test cases precisely.

Keywords: Unified Modeling Language (UML), Model Based Testing (MBT), Software Development Life Cycle (SDLC), Class Diagram, Object Oriented Language (OCL)


How to Cite

Ali Shah, Syed Asad, Raja Khaim Shahzad, Syed Shafique Ali Bukhari, and Mamoona Humayun. 2016. “Automated Test Case Generation Using UML Class & Sequence Diagram”. Current Journal of Applied Science and Technology 15 (3):1-12. https://doi.org/10.9734/BJAST/2016/24860.

Downloads

Download data is not yet available.