TY - GEN
T1 - Automatic generation of system test cases from use case specifications
AU - Wang, Chunhui
AU - Pastore, Fabrizio
AU - Goknil, Arda
AU - Briand, Lionel
AU - Iqbal, Zohaib
N1 - Publisher Copyright:
© 2015 ACM.
PY - 2015/7/13
Y1 - 2015/7/13
N2 - In safety critical domains, system test cases are often derived from functional requirements in natural language (NL) and traceability between requirements and their corresponding test cases is usually mandatory. The definition of test cases is therefore time-consuming and error prone, especially so given the quickly rising complexity of embedded systems in many critical domains. Though considerable research has been devoted to automatic generation of system test cases from NL requirements, most of the proposed approaches require significant manual intervention or additional, complex behavioral modelling. This significantly hinders their applicability in practice. In this paper, we propose Use Case Modelling for System Tests Generation (UMTG), an approach that automatically generates executable system test cases from use case specifications and a domain model, the latter including a class diagram and constraints. Our rationale and motivation are that, in many environments, including that of our industry partner in the reported case study, both use case specifications and domain modelling are common and accepted practice, whereas behavioural modelling is considered a difficult and expensive exercise if it is to be complete and precise. In order to extract behavioral information from use cases and enable test automation, UMTG employs Natural Language Processing (NLP), a restricted form of use case specifications, and constraint solving.
AB - In safety critical domains, system test cases are often derived from functional requirements in natural language (NL) and traceability between requirements and their corresponding test cases is usually mandatory. The definition of test cases is therefore time-consuming and error prone, especially so given the quickly rising complexity of embedded systems in many critical domains. Though considerable research has been devoted to automatic generation of system test cases from NL requirements, most of the proposed approaches require significant manual intervention or additional, complex behavioral modelling. This significantly hinders their applicability in practice. In this paper, we propose Use Case Modelling for System Tests Generation (UMTG), an approach that automatically generates executable system test cases from use case specifications and a domain model, the latter including a class diagram and constraints. Our rationale and motivation are that, in many environments, including that of our industry partner in the reported case study, both use case specifications and domain modelling are common and accepted practice, whereas behavioural modelling is considered a difficult and expensive exercise if it is to be complete and precise. In order to extract behavioral information from use cases and enable test automation, UMTG employs Natural Language Processing (NLP), a restricted form of use case specifications, and constraint solving.
KW - NLP
KW - Test Cases Generation
KW - Use Case Specifications
UR - http://www.scopus.com/inward/record.url?scp=84975763819&partnerID=8YFLogxK
U2 - 10.1145/2771783.2771812
DO - 10.1145/2771783.2771812
M3 - Conference contribution
AN - SCOPUS:84975763819
T3 - 2015 International Symposium on Software Testing and Analysis, ISSTA 2015 - Proceedings
SP - 385
EP - 396
BT - 2015 International Symposium on Software Testing and Analysis, ISSTA 2015 - Proceedings
PB - Association for Computing Machinery, Inc
T2 - 24th International Symposium on Software Testing and Analysis, ISSTA 2015
Y2 - 13 July 2015 through 17 July 2015
ER -