Open Access iconOpen Access

REVIEW

crossmark

Automated Test Case Generation from Requirements: A Systematic Literature Review

by Ahmad Mustafa1, Wan M. N. Wan-Kadir1, Noraini Ibrahim1, Muhammad Arif Shah3,*, Muhammad Younas2, Atif Khan4, Mahdi Zareei5, Faisal Alanazi6

1 Department of Software Engineering, School of Computing, Universiti Teknologi Malaysia Johor Bahru, Johor, 81310, Malaysia
2 Department of Computer Science, Government College University, Faisalabad, 38000, Pakistan
3 Department of Software Engineering, Pak-Austria Fachhochschule Institute of Applied Sciences and Technology, Haripur, 22620, Pakistan
4 Department of Computer Science, Islamia College Peshawar, Peshawar, Pakistan
5 Tecnologico de Monterrey, School of Engineering and Sciences, Zapopan, 45201, Mexico
6 Department of Electrical Engineering, Prince Sattam Bin Abdulaziz University, Al Kharj, 11942, Saudi Arabia

* Corresponding Author: Muhammad Arif Shah. Email: email

Computers, Materials & Continua 2021, 67(2), 1819-1833. https://doi.org/10.32604/cmc.2021.014391

Abstract

Software testing is an important and cost intensive activity in software development. The major contribution in cost is due to test case generations. Requirement-based testing is an approach in which test cases are derivative from requirements without considering the implementation’s internal structure. Requirement-based testing includes functional and nonfunctional requirements. The objective of this study is to explore the approaches that generate test cases from requirements. A systematic literature review based on two research questions and extensive quality assessment criteria includes studies. The study identifies 30 primary studies from 410 studies spanned from 2000 to 2018. The review’s finding shows that 53% of journal papers, 42% of conference papers, and 5% of book chapters’ address requirements-based testing. Most of the studies use UML, activity, and use case diagrams for test case generation from requirements. One of the significant lessons learned is that most software testing errors are traced back to errors in natural language requirements. A substantial amount of work focuses on UML diagrams for test case generations, which cannot capture all the system’s developed attributes. Furthermore, there is a lack of UML-based models that can generate test cases from natural language requirements by refining them in context. Coverage criteria indicate how efficiently the testing has been performed 12.37% of studies use requirements coverage, 20% of studies cover path coverage, and 17% study basic coverage.

Keywords


Cite This Article

APA Style
Mustafa, A., Wan-Kadir, W.M.N., Ibrahim, N., Shah, M.A., Younas, M. et al. (2021). Automated test case generation from requirements: A systematic literature review. Computers, Materials & Continua, 67(2), 1819-1833. https://doi.org/10.32604/cmc.2021.014391
Vancouver Style
Mustafa A, Wan-Kadir WMN, Ibrahim N, Shah MA, Younas M, Khan A, et al. Automated test case generation from requirements: A systematic literature review. Comput Mater Contin. 2021;67(2):1819-1833 https://doi.org/10.32604/cmc.2021.014391
IEEE Style
A. Mustafa et al., “Automated Test Case Generation from Requirements: A Systematic Literature Review,” Comput. Mater. Contin., vol. 67, no. 2, pp. 1819-1833, 2021. https://doi.org/10.32604/cmc.2021.014391



cc Copyright © 2021 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 3311

    View

  • 2998

    Download

  • 0

    Like

Share Link