Risk based Test Case Prioritization using UML State Machine Diagram
Gufran Ahmad Ansari, Wasiur Rhmann and Vipin Saxena. Risk based Test Case Prioritization using UML State Machine Diagram. International Journal of Applied Information Systems 11(7):15-21, December 2016. URL, DOI BibTeX
@article{10.5120/ijais2016451624, author = "Gufran Ahmad Ansari and Wasiur Rhmann and Vipin Saxena", title = "Risk based Test Case Prioritization using UML State Machine Diagram", journal = "International Journal of Applied Information Systems", issue_date = "December 2016", volume = 11, number = 7, month = "Dec", year = 2016, issn = "2249-0868", pages = "15-21", numpages = 7, url = "http://www.ijais.org/archives/volume11/number7/950-2016451624", doi = "10.5120/ijais2016451624", publisher = "Foundation of Computer Science (FCS), NY, USA", address = "New York, USA" }
Abstract
Time and budget constraints are two main factors which affect the quality of software products. Testing is the last activity that performed in the software development life cycle which suffers more. Test cases are designed to find the bugs in the software. Prioritization of test cases is used to execute test cases earlier which are of high probability of finding bugs. Testing with all possible test cases is not possible even for trivial software. Testing of safety critical systems require more effort to identify the critical components. In the present work, authors proposed, a novel technique of test cases prioritization from UML state diagram by taking account risk. State machine diagram is transformed into WEFSM (Weighted Extended Finite State Machine) and a case study of ATM system is used to evaluate the proposed approach. A new metric based on risk called APRC (Average Percentage of Risk Covered) is proposed and used to demonstrate the effectiveness of proposed approach.
Reference
- Mall, R. 2009. Fundamental of Software Engineering, 3rd Edition, Prentice Hall.
- McManus, J. 2004. Risk Management in Software Development Projects, First Edition, Elsevier.
- Amland, S. 2000. Risk Based Testing: Risk Analysis Fundamentals and Metrics for Software Testing including a Financial Application Case Study, Journal of Systems and Software, Vol. 53, No. 3, pp. 287-295.
- Wendland, M. F., Kranz, M. and Schieferdecker, I. 2012. A Systematic Approach to Risk-Based Testing Using Risk-annotated Requirements Models, International Conference on Software Engineering Advances, pp. 636-642.
- Bar, T., Strohmeier, A., Moreira, A. and Mellor, S. J. 2004. The Unified Modeling Language: Modeling languages and applications, International Conference on Lisbon, Portugal, Springer.
- Booch, G., Raumbagh, J. and Jaobson, I. 1998. The Unified Modeling Language User Guide, Addison Wesley.
- Hamilton, K. and Miles, R. 2006. Learning UML 2.0, O Reilly.
- Zivkovic, A., Rozman, I. and Hericko, M. 2005. Automated Software Size Estimation Based on Function Points using UML Models, Information and Software Technology, Vol. 47, pp. 881–890.
- Hakim, A. S. H., Abran, A. and Abdallah, H. B. 2015. A Measurement Method for Sizing the Structure of UML Sequence Diagrams, Information and Software Technology, Vol. 59, pp. 222-232.
- Popstoiannova, K. G., Hassan, A., Guedem, A., Abdelmoez, W., Nassar, D. E. M., Ammar, H. and Milli, A. 2003. Architecture Level Risk Analysis using UML, IEEE Transaction on Software Engineering, Vol. 29, No. 10, pp. 2003.
- Wang, T., Hassan, A., Guedem, A., Popstojanaova, K. G. and Ammar, H. 2003. Architectural Level Risk Assessment Tool Based on UML Specification, International Conference on Software Engineering, IEEE, pp. 808-809.
- Hettiarachichi, C., Do, H. and Choi, B., 2016. Risk Based Test Case Prioritization Using a Fuzzy Expert System, Information and Software Technology, Vol. 69, pp. 1-15.
- Stallbaum, H., Metzqer, A. and Pohl, K. 2008. An Automated Technique for Risk-Based Test Case Generation and Prioritization, Proceedings of 3rd International Workshop on Automation of Software Test, pp. 67-70.
- Gebizi, C. S., Metin, D. and Sozer, H. 2015. Combining Model Based Testing and Risk Based Testing for Effective Test Case Generation, Eighth International Conference on Softwate Testing, Verification and Validation Workshop, pp. 1-4.
- Shirole, M., Suthar, A. and Kumar, R. 2011. Generation of Improved Test Cases from UML State Diagram using Genetic Algorithm, Proceeding of Indian Software Engineering Conference, ACM, pp. 125-134.
- Mohanty, S., Acharya, A. A. and Mohpatra, D. P. 2011. A Model Based Prioritization Technique for Component Based Software Retesting using UML State Chart Diagram, International Conference on Electronics Computer Technology, pp. 364-368.
- Samuel, P., Mall, R. and Bothra, A. K. 2008. Automatic Test Cases Generation From Unified Modeling Language (UML) State Diagrams, IET Software, Vol. 2, No. 2, pp. 79-93.
- Schaefer, H., Risk Based Testing, Strategies for Prioritizing Tests against Deadlines, Software Test Consulting, http://home.c2i.net/schaefer/testing.html, 2005.
- Jorgensen, P. C. 2014. Software Testing a Craftsman’s Approach, 4th edition, CRC Press.
Keywords
Software Testing, Test Cases, State Diagram, Risk Exposure, UML