Automated test case generation from requirements: A systematic literature review

Ahmad Mustafa, Wan M.N. Wan-Kadir, Noraini Ibrahim, Muhammad Arif Shah, Muhammad Younas, Atif Khan, Mahdi Zareei, Faisal Alanazi

Research output: Contribution to journalReview articlepeer-review

15 Scopus citations

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.Asystematic literature reviewbased 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 requirementsbased 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.

Original languageEnglish
Pages (from-to)1819-1833
Number of pages15
JournalComputers, Materials and Continua
Volume67
Issue number2
DOIs
StatePublished - 2021
Externally publishedYes

Keywords

  • Coverage Criteria
  • Functional Testing Techniques
  • Natural Language Requirement
  • Requirements Tractability
  • Requirementsbased Test Case Generation
  • System Testing
  • Test Case Generation

Fingerprint

Dive into the research topics of 'Automated test case generation from requirements: A systematic literature review'. Together they form a unique fingerprint.

Cite this