AUTOMATIC TEST-CASE GENERATION FOR SYSTEM TESTING

  • Minh-Hue Chu Hung Yen University of Technology and Education
  • Trinh Thi Nhi, Hung Yen University of Technology and Education
  • Do Thi Thu Trang Hung Yen University of Technology and Education
  • Ngo Thanh Huyen Hung Yen University of Technology and Education
  • Tran Do Thu Ha Hung Yen University of Technology and Education
Keywords: automatic test case generation, functional testing, system testing, testing based on use case, UCML

Abstract

In this paper, we propose a method to generate test cases automatically from a detailed use case specification for system-level functional testing. Our method consists of two parts: (1) Propose UCML (Use Case Modeling Language) to describe the use cases in more detail; (2) Automatic test scenarios generation algorithms and corresponding test cases from detailed use case specification model by UCML. Test scenarios are generated based on the branch coverage criteria. Test cases are generated based on the test scenarios coverage criteria and subclauses coverage criteria of the constraint conditions in each test scenario. Each test case provides the following details: Test execution precondition, input data, expected output, and test execution steps are the basis for writing self-test automated execution scripts.

References

A. Cockburn, Writing Effective Use Cases.: Addison-Wesley, 2001.

I. Jacobson, Object-Oriented Software Engineering: A Use Case Driven Approach. Redwood, USA: Addison Wesley Longman Publishing Co, 2004.

Lai V. Y.N, Tho T. Q and Thuan D. L Nhuan D., “A Framework for Automatic Construction of Test Scenarios from Use-case,” Proc. Ho Chi Minh Software Testing Conference, 2015.

C. Nebut,F. Fleurey, Y.Le Traon, and J.M. Jezequel, “Automatic Test Generation: A Use Case Driven Approach,” IEEE Transactions on Software Engineering, 2006, vol. 32, pp. 140-155.

M. Smialek and T.Straszak, “Automating Acceptance Testing with Tool Support,” Proc. Int. Conf. Computer Science and Information Systems (FedCSIS), 2014, pp. 1569-1574.

W. Grieskamp, M. Lepper,W. Schulte and N. Tillmann, “Testable Use Cases in the Abstract State Machine Language,” Proc2nd Asia-Pacific Conf. on Quality Software, 2001, pp. 167.

C. Wang, F.Pastore, A. Goknil, L. Briand, and Z. Iqbal, “Automatic Generation of System Test Cases from Use Case Specifications,”in Proc. Int. Conf. on Software Testing and Analysis (ISSTA), 2015, pp. 385-396.

M. Chen, P. Mishra and D. Kalita, “Coverage-driven Automatic Test Generation for UML Activity Diagrams,” Proc. 18th Int. Conf. on VLSI (GLSVLSI), 2008, pp. 139-142.

P.N. Boghdady, N.L. Badr, M. Hashem and M. F.Tolba, “A Proposed Test Case Generation Technique Based on Activity Diagrams,”Journal of Engineering & Technology, 2011, vol. 11.

P.E. Patel, N. N. Patil, “Testcases Formation Using UML Activity Diagram,” Communication Systems and Network Technologies (CSNT), 2013.

V. Panthi, P.K. Behera and R. K. Swain, “Generation of Test Cases Using Activity Diagram,” International Journal of Computer Science and Informatics, 2013, vol. 3.

S. Tiwari and A.l Gupta, “An Approach of Generating Test Requirements for Agile Software Development,” Proc. 8th Int. Conf. Software Engineering Conference (ISEC), 2015, pp. 186-195.

P. Ammann and J. Offutt, Introduction to Software Testing.: Cambridge University Press, 2008.

R.C. Gronback, Eclipse Modeling Project A Domain-Specific Language.: Addison-Wesley, 2009.

C.T.M Huệ, D.D Hạnh, “Ngôn ngữ mô hình hóa chuyên biệt miền cho miền bảo mật RBAC,” Tạp chí Nghiên cứu khoa khoa và công nghệ quân sự, 2011, vol. 16, pp. 163-168.

V. Panthi and D.P. Mohapatra, “Automatic test case generation using sequence diagram,” International Journal of Applied Information Systems, 2012, pp. 277-284.

D. Pilone and N. Pitman, Uml 2.0 in a Nutshell.: O’Reilly Media, 2005.

T. J. McCabe A. H. Watson, “Structured Testing: A Testing Methodology Using the Cyclomatic Complexity Metric,” National Institute of Standards and Technology Special Publication, 1996, pp. 500-235.

Published
2020-10-12
How to Cite
Minh-Hue Chu, Trinh Thi Nhi, Do Thi Thu Trang, Ngo Thanh Huyen, & Tran Do Thu Ha. (2020). AUTOMATIC TEST-CASE GENERATION FOR SYSTEM TESTING. UTEHY Journal of Applied Science and Technology, 27, 61-67. Retrieved from http://tapchi.utehy.edu.vn/index.php/jst/article/view/390