Cargando…
Testing software’s changing features with environment-driven abstraction identification
Abstractions are significant domain terms that have assisted in requirements elicitation and modeling. To extend the assistance toward requirements validation, we present in this paper an automated approach to identifying the abstractions for supporting requirements-based testing. We select relevant...
Autores principales: | , , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Springer London
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9486799/ https://www.ncbi.nlm.nih.gov/pubmed/36157349 http://dx.doi.org/10.1007/s00766-022-00390-8 |
_version_ | 1784792358267650048 |
---|---|
author | Peng, Zedong Rathod, Prachi Niu, Nan Bhowmik, Tanmay Liu, Hui Shi, Lin Jin, Zhi |
author_facet | Peng, Zedong Rathod, Prachi Niu, Nan Bhowmik, Tanmay Liu, Hui Shi, Lin Jin, Zhi |
author_sort | Peng, Zedong |
collection | PubMed |
description | Abstractions are significant domain terms that have assisted in requirements elicitation and modeling. To extend the assistance toward requirements validation, we present in this paper an automated approach to identifying the abstractions for supporting requirements-based testing. We select relevant Wikipedia pages to serve as a domain corpus that is independent from any specific software system. We further define five novel patterns based on part-of-speech tagging and dependency parsing, and frame our candidate abstractions in the form of <key, value> pairs for better testability, where the “key” helps locate “what to test”, and the “value” helps guide “how to test it” by feeding in concrete data. We evaluate our approach with six software systems in two application domains: Electronic health records and Web conferencing. The results show that our abstractions are more accurate than those generated by a state-of-the-art technique. While the initial findings indicate our abstractions’ capabilities of revealing bugs and matching the environmental assumptions created manually, we articulate a new way to perform requirements-based testing by focusing on a software system’s changing features. Specifically, we hypothesize that the same feature would behave differently under a pair of opposing environmental conditions and assess our abstractions’ applicability to this new form of feature testing. |
format | Online Article Text |
id | pubmed-9486799 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | Springer London |
record_format | MEDLINE/PubMed |
spelling | pubmed-94867992022-09-21 Testing software’s changing features with environment-driven abstraction identification Peng, Zedong Rathod, Prachi Niu, Nan Bhowmik, Tanmay Liu, Hui Shi, Lin Jin, Zhi Requir Eng Original Article Abstractions are significant domain terms that have assisted in requirements elicitation and modeling. To extend the assistance toward requirements validation, we present in this paper an automated approach to identifying the abstractions for supporting requirements-based testing. We select relevant Wikipedia pages to serve as a domain corpus that is independent from any specific software system. We further define five novel patterns based on part-of-speech tagging and dependency parsing, and frame our candidate abstractions in the form of <key, value> pairs for better testability, where the “key” helps locate “what to test”, and the “value” helps guide “how to test it” by feeding in concrete data. We evaluate our approach with six software systems in two application domains: Electronic health records and Web conferencing. The results show that our abstractions are more accurate than those generated by a state-of-the-art technique. While the initial findings indicate our abstractions’ capabilities of revealing bugs and matching the environmental assumptions created manually, we articulate a new way to perform requirements-based testing by focusing on a software system’s changing features. Specifically, we hypothesize that the same feature would behave differently under a pair of opposing environmental conditions and assess our abstractions’ applicability to this new form of feature testing. Springer London 2022-09-20 2022 /pmc/articles/PMC9486799/ /pubmed/36157349 http://dx.doi.org/10.1007/s00766-022-00390-8 Text en © The Author(s), under exclusive licence to Springer-Verlag London Ltd., part of Springer Nature 2022, Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law. This article is made available via the PMC Open Access Subset for unrestricted research re-use and secondary analysis in any form or by any means with acknowledgement of the original source. These permissions are granted for the duration of the World Health Organization (WHO) declaration of COVID-19 as a global pandemic. |
spellingShingle | Original Article Peng, Zedong Rathod, Prachi Niu, Nan Bhowmik, Tanmay Liu, Hui Shi, Lin Jin, Zhi Testing software’s changing features with environment-driven abstraction identification |
title | Testing software’s changing features with environment-driven abstraction identification |
title_full | Testing software’s changing features with environment-driven abstraction identification |
title_fullStr | Testing software’s changing features with environment-driven abstraction identification |
title_full_unstemmed | Testing software’s changing features with environment-driven abstraction identification |
title_short | Testing software’s changing features with environment-driven abstraction identification |
title_sort | testing software’s changing features with environment-driven abstraction identification |
topic | Original Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9486799/ https://www.ncbi.nlm.nih.gov/pubmed/36157349 http://dx.doi.org/10.1007/s00766-022-00390-8 |
work_keys_str_mv | AT pengzedong testingsoftwareschangingfeatureswithenvironmentdrivenabstractionidentification AT rathodprachi testingsoftwareschangingfeatureswithenvironmentdrivenabstractionidentification AT niunan testingsoftwareschangingfeatureswithenvironmentdrivenabstractionidentification AT bhowmiktanmay testingsoftwareschangingfeatureswithenvironmentdrivenabstractionidentification AT liuhui testingsoftwareschangingfeatureswithenvironmentdrivenabstractionidentification AT shilin testingsoftwareschangingfeatureswithenvironmentdrivenabstractionidentification AT jinzhi testingsoftwareschangingfeatureswithenvironmentdrivenabstractionidentification |