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.

Wang, C., Pastore, F., Goknil, A., Briand, L., Iqbal, Z. (2015). Automatic generation of system test cases from use case specifications. In 2015 International Symposium on Software Testing and Analysis, ISSTA 2015 - Proceedings (pp.385-396). Association for Computing Machinery, Inc [10.1145/2771783.2771812].

Automatic generation of system test cases from use case specifications

PASTORE, FABRIZIO
Secondo
;
2015

Abstract

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.
Si
paper
NLP; Test Cases Generation; Use Case Specifications; Software
English
24th International Symposium on Software Testing and Analysis, ISSTA 2015
9781450336208
Wang, C., Pastore, F., Goknil, A., Briand, L., Iqbal, Z. (2015). Automatic generation of system test cases from use case specifications. In 2015 International Symposium on Software Testing and Analysis, ISSTA 2015 - Proceedings (pp.385-396). Association for Computing Machinery, Inc [10.1145/2771783.2771812].
Wang, C; Pastore, F; Goknil, A; Briand, L; Iqbal, Z
File in questo prodotto:
File Dimensione Formato  
Wang-AutomaticGenerationOfSystemTestCases-ISSTA-2015.pdf

Solo gestori archivio

Dimensione 660.42 kB
Formato Adobe PDF
660.42 kB Adobe PDF   Visualizza/Apri   Richiedi una copia

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/128943
Citazioni
  • Scopus 81
  • ???jsp.display-item.citation.isi??? ND
Social impact