Test case information extraction from requirements specifications using NLP-based unified boilerplate approach
Automated testing which extracts essential information from software requirements written in natural language offers a cost-effective and efficient solution to error-free software that meets stakeholders' requirements in the software industry. However, natural language can cause ambiguity in re...
Saved in:
Main Authors: | , , , , , , |
---|---|
Format: | Article |
Published: |
Elsevier
2024
|
Subjects: | |
Online Access: | http://eprints.um.edu.my/45561/ https://doi.org/10.1016/j.jss.2024.112005 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Universiti Malaya |
id |
my.um.eprints.45561 |
---|---|
record_format |
eprints |
spelling |
my.um.eprints.455612024-10-29T07:29:04Z http://eprints.um.edu.my/45561/ Test case information extraction from requirements specifications using NLP-based unified boilerplate approach Lim, Jin Wei Chiew, Thiam Kian Su, Moon Ting Ong, SimYing Subramaniam, Hema Mustafa, Mumtaz Begum Chiam, Yin Kia QA75 Electronic computers. Computer science QA76 Computer software Automated testing which extracts essential information from software requirements written in natural language offers a cost-effective and efficient solution to error-free software that meets stakeholders' requirements in the software industry. However, natural language can cause ambiguity in requirements and increase the challenges of automated testing such as test case generation. Negative requirements also cause inconsistency and are often neglected. This research aims to extract test case information (actors, conditions, steps, system response) from positive and negative requirements written in natural language (i.e. English) using natural language processing (NLP). We present a unified boilerplate that combines Rupp's and EARS boilerplates, and serves as the grammar guideline for requirements analysis. Extracted information is populated in a test case template, becoming the building blocks for automated test case generation. An experiment was conducted with three public requirements specifications from PURE datasets to investigate the correctness of information extracted using this proposed approach. The results presented correctness of 50 % (Mdot), 61.7 % (Pointis) and 10 % (Npac) on information extracted. The lower correctness on negative over positive requirements was observed. The correctness by specific categories is also analysed, revealing insights into actors, steps, conditions, and system response extracted from positive and negative requirements. Elsevier 2024-05 Article PeerReviewed Lim, Jin Wei and Chiew, Thiam Kian and Su, Moon Ting and Ong, SimYing and Subramaniam, Hema and Mustafa, Mumtaz Begum and Chiam, Yin Kia (2024) Test case information extraction from requirements specifications using NLP-based unified boilerplate approach. Journal of Systems and Software, 211. p. 112005. ISSN 0164-1212, DOI https://doi.org/10.1016/j.jss.2024.112005 <https://doi.org/10.1016/j.jss.2024.112005>. https://doi.org/10.1016/j.jss.2024.112005 10.1016/j.jss.2024.112005 |
institution |
Universiti Malaya |
building |
UM Library |
collection |
Institutional Repository |
continent |
Asia |
country |
Malaysia |
content_provider |
Universiti Malaya |
content_source |
UM Research Repository |
url_provider |
http://eprints.um.edu.my/ |
topic |
QA75 Electronic computers. Computer science QA76 Computer software |
spellingShingle |
QA75 Electronic computers. Computer science QA76 Computer software Lim, Jin Wei Chiew, Thiam Kian Su, Moon Ting Ong, SimYing Subramaniam, Hema Mustafa, Mumtaz Begum Chiam, Yin Kia Test case information extraction from requirements specifications using NLP-based unified boilerplate approach |
description |
Automated testing which extracts essential information from software requirements written in natural language offers a cost-effective and efficient solution to error-free software that meets stakeholders' requirements in the software industry. However, natural language can cause ambiguity in requirements and increase the challenges of automated testing such as test case generation. Negative requirements also cause inconsistency and are often neglected. This research aims to extract test case information (actors, conditions, steps, system response) from positive and negative requirements written in natural language (i.e. English) using natural language processing (NLP). We present a unified boilerplate that combines Rupp's and EARS boilerplates, and serves as the grammar guideline for requirements analysis. Extracted information is populated in a test case template, becoming the building blocks for automated test case generation. An experiment was conducted with three public requirements specifications from PURE datasets to investigate the correctness of information extracted using this proposed approach. The results presented correctness of 50 % (Mdot), 61.7 % (Pointis) and 10 % (Npac) on information extracted. The lower correctness on negative over positive requirements was observed. The correctness by specific categories is also analysed, revealing insights into actors, steps, conditions, and system response extracted from positive and negative requirements. |
format |
Article |
author |
Lim, Jin Wei Chiew, Thiam Kian Su, Moon Ting Ong, SimYing Subramaniam, Hema Mustafa, Mumtaz Begum Chiam, Yin Kia |
author_facet |
Lim, Jin Wei Chiew, Thiam Kian Su, Moon Ting Ong, SimYing Subramaniam, Hema Mustafa, Mumtaz Begum Chiam, Yin Kia |
author_sort |
Lim, Jin Wei |
title |
Test case information extraction from requirements specifications using NLP-based unified boilerplate approach |
title_short |
Test case information extraction from requirements specifications using NLP-based unified boilerplate approach |
title_full |
Test case information extraction from requirements specifications using NLP-based unified boilerplate approach |
title_fullStr |
Test case information extraction from requirements specifications using NLP-based unified boilerplate approach |
title_full_unstemmed |
Test case information extraction from requirements specifications using NLP-based unified boilerplate approach |
title_sort |
test case information extraction from requirements specifications using nlp-based unified boilerplate approach |
publisher |
Elsevier |
publishDate |
2024 |
url |
http://eprints.um.edu.my/45561/ https://doi.org/10.1016/j.jss.2024.112005 |
_version_ |
1814933242789232640 |