Test Case Generation Model for UML Diagrams


  • Yasir Dawood Salman College of Arts and Sciences, Universiti Utara Malaysia, Sintok, Kedah, 06010, Malaysia.
  • Nor Laily Hashim College of Arts and Sciences, Universiti Utara Malaysia, Sintok, Kedah, 06010, Malaysia.


Software Testing, Unified Modeling Language, Test Cases.


The complexity and size of software have been sequentially increasing, and the scope of testing is expanding. To insure deadline delivery and decrease development test cost, the efficiency of software testing needs to be improved. Several approaches for automated test case generation have been proposed over the last few years. However, models for automated test case generation for unified modeling language (UML) diagrams are still in the early stage of development. UML is the most widely used language to describe software analysis and design. Given that test cases can be efficiently derived from UML models, the generation of test cases from UML diagrams has attracted increasing research attention. However, no model currently exists for mapping the generation procedure. This paper proposes a model for automatic test case generation from UML diagrams.


Kull A., 2009.Model-Based Testing of Reactive Systems: TUT Press.

Dustin E., Garrett T., and Gauf B., 2009. Implementing Automated Software Testing: How To Save Time And Lower Costs While Raising Quality: Pearson Education.

A. Kaur and S. S. Harwinder, 2013. Automatic Test Case Generation with SilK Testing. International Journal of Computer Applications. 79:32-34.

Anand S., Burke E. K., Chen T. Y., Clark J., Cohen M. B., Grieskamp W., et al., 2013. An Orchestrated Survey Of Methodologies For Automated Software Test Case Generation. Journal of Systems and Software. 86:1978– 2001.

Li L., Li X., He T., and Xiong J., 2013. Extenics-based Test Case Generation for UML Activity Diagram, Procedia Computer Science. 17:1186-1193.

Specification O. A., 2007. OMG Unified Modeling Language (OMG UML), Superstructure, V2. 1.2. Object Management Group.

Sapna P. and Balakrishnan A., 2015. An Approach for Generating Minimal Test Cases for Regression Testing,Procedia Computer Science. 47:188-196.

Karambir and Kuldeep K., 2013. Survey of Software Test Case Generation Techniques. International Journal of Advanced Research in Computer Science and Software Engineering. 937-942.

Hooda I. and Chhillar R., 2014. A Review: Study of Test Case Generation Techniques. International Journal of Computer

Applications. 107.

Rafi D. M., Moses K. R. K., Petersen K., and Mäntylä M. V., 2012. Benefits And Limitations Of Automated Software Testing: Systematic Literature Review And Practitioner Survey. in Proceedings of the 7th International Workshop on Automation of Software Test. 36-42.

Kumaran U. S., Kumar S. A., and Kumar K. V., 2011. An Approach to Automatic Generation of Test Cases Based on Use Cases in the Requirements Phase. International Journal on Computer Science and Engineering. 3: 102-113.

Hierons R. M., Merayo M. G., and Nunez M., 2011. Scenarios‐Based Testing Of Systems With Distributed Ports, Software: Practice and Experience. 41:999-1026.

Hartmann J., Imoberdorf C., and Meisinger M., 2000. UML-based integration testing. in ACM SIGSOFT Software Engineering Notes. 60-70.

Kansomkeat S. and Rivepiboon W., 2003. Automated Generating Test Case Using UML Statechart Diagrams, in Proceedings Of The 2003 Annual Research Conference Of The South African Institute Of Computer Scientists And Information Technologists On Enablement Through Technology.296-300.

Kosindrdecha N. and Daengdej J., 2010. A Test Generation Method Based On State Diagram. JATIT. 28-44.

Santiago V., do Amaral A. S. M., Vijaykumar N., Mattiello-Francisco M. F., Martins E., and Lopes O. C., 2006. A Practical Approach for Automated Test Case Generation using Statecharts. in Computer Software and Applications Conference, COMPSAC'06. 30th Annual International.183-188.

Santiago V., Vijaykumar N. L., Guimarães D., Amaral A. S., and Ferreira É., 2008. An Environment for Automated Test Case Generation from Statechart-based and Finite State Machine-based Behavioral Models. in Software Testing Verification and Validation Workshop. ICSTW'08. IEEE International Conference on. 63-72.

Indumathi C. andSelvamani K., 2015. Test Cases Prioritization Using Open Dependency Structure Algorithm. Procedia Computer Science. 48:250-255.

Boghdady P. N., Badr N. L., Hashim M. A., and Tolba M. F., 2011. An Enhanced Test Case Generation Technique Based On Activity Diagrams, in Computer Engineering & Systems (ICCES), 2011 International Conference on. 289-294.

Binder R. V., 2000. Testing Object-Oriented Systems: Models, Patterns, and Tools. : Addison-Wesley Professional.

Shirole M., Suthar A., and Kumar R., 2011. Generation of Improved Test Cases from UML State Diagram Using Genetic Algorithm, in Proceedings of the 4th India Software Engineering Conference.125-134.

Hashim N. L. and Salman Y. D., 2011. An Improved Algorithm in Test Case Generation from UML Activity Diagram Using Activity Path. Proceedings of the 3rd International Conference on Computing and Informatics, ICOCI.

Kundu D. and Samanta D., 2009. A Novel Approach to Generate Test Cases from UML Activity Diagrams, Journal of Object Technology. 8:65-83.

Swain R. K., Panthi V., Behera P., and Mohapatra D., 2012. Automatic Test case Generation From UML State Chart Diagram. International Journal of Computer Applications. 26-36,

Swain R. K., Behera P. K., and Mohapatra, D. P. 2012. Minimal TestCase Generation for Object-Oriented Software with State Charts. arXiv preprint arXiv:1208.2265.

Swain R. K., Behera P. K., and Mohapatra D. P., 2012. Generation and Optimization of Test cases for Object-Oriented Software Using State Chart Diagram. arXiv preprint arXiv:1206.0373.

Linzhang W., Jiesong Y., Xiaofeng Y., Jun H., Xuandong L., and Guoliang Z., 2004. Generating test cases from UML activity diagram based on Gray-box method. presented at the Software Engineering Conference 2004. 11th Asia-Pacific.

Rapos E., 2012. Understanding The Effects Of Model Evolution Through Incremental Test Case Generation For UML-RT Models.

Zhu H., Hall P. A., and May J. H., 1997. Software unit test coverage and adequacy. Acm computing surveys (csur). 29:366-427.

Bertolino A., 2007. Software testing research: Achievements, challenges, dreams. in 2007 Future of Software Engineering. 85-103.

Koong C.-S., Shih C., Hsiung P.-A., Lai H.-J., Chang C.-H., Chu W. C., et al., 2012. Automatic testing environment for multi-core embedded software—ATEMES, Journal of Systems and Software. 85:43-60.

Priya S. S. and Sheba P., 2013. Test Case Generation from UML models-A survey. in Proc. International Conference on Information Systems and Computing (ICISC-2013), INDIA.

Werner E. and Grabowski J., 2012. Mining Test Cases: Optimization Possibilities. International Journal On Advances in Software. 5:200-211.

Edvardsson J., 1999. A survey on automatic test data generation. in Proceedings of the 2nd Conference on Computer Science and Engineering. 21-28.

Verma A. and Dutta M., 2014. Automated Test case generation using UML diagrams based on behavior. International Journal of Innovations in Engineering and Technology (IJIET). 4

Shanthi A. and Kumar G. M., 2012. Automated Test Cases Generation from UML Sequence Diagram. International Proceedings of Computer Science & Information Technology. 41.

Boghdady P. N., Badr N. L., Hashem M., and Tolba M. F., 2011. A proposed test case generation technique based on activity diagrams. International Journal of Engineering & Technology IJET-IJENS. 11.

Swain S. K., Mohapatra D. P., and Mall R., 2010. Test case generation based on use case and sequence diagram. International Journal of Software Engineering. 3:21-52.




How to Cite

Dawood Salman, Y., & Hashim, N. L. (2017). Test Case Generation Model for UML Diagrams. Journal of Telecommunication, Electronic and Computer Engineering (JTEC), 9(2-2), 171–175. Retrieved from https://jtec.utem.edu.my/jtec/article/view/2239

Most read articles by the same author(s)

1 2 > >>