Testing of microservices architectures (MSA) – today a popular software architectural style - demands for automation in its several tasks, like tests generation, prioritization and execution. Automated black-box generation of test cases for MSA currently borrows techniques and tools from the testing of RESTful Web Services. This paper: i) proposes the uTest stateless pairwise combinatorial technique (and its automation tool) for test cases generation for functional and robustness microservices testing, and ii) experimentally compares - with three open-source MSA used as subjects - four state-of-the-art black-box tools conceived for Web Services, adopting evolutionary-, dependencies- and mutation-based generation techniques, and the pro- posed uTest combinatorial tool. The comparison shows little differences in coverage values; uTest pairwise testing achieves better average failure rate with a considerably lower number of tests. Web Services tools do not perform for MSA as well as a tester might expect, highlighting the need for MSA-specific techniques.
Assessing Black-box Test Case Generation Techniques for Microservices / Giamattei, Luca; Guerriero, Antonio; Pietrantuono, Roberto; Russo, Stefano. - 1621:(2022), pp. 46-60. (Intervento presentato al convegno Quality of Information and Communications Technology. QUATIC 2022 tenutosi a Talavera de la Reina, Spain nel September 12-14, 2022) [10.1007/978-3-031-14179-9_4].
Assessing Black-box Test Case Generation Techniques for Microservices
Luca Giamattei;Antonio Guerriero;Roberto Pietrantuono;Stefano Russo
2022
Abstract
Testing of microservices architectures (MSA) – today a popular software architectural style - demands for automation in its several tasks, like tests generation, prioritization and execution. Automated black-box generation of test cases for MSA currently borrows techniques and tools from the testing of RESTful Web Services. This paper: i) proposes the uTest stateless pairwise combinatorial technique (and its automation tool) for test cases generation for functional and robustness microservices testing, and ii) experimentally compares - with three open-source MSA used as subjects - four state-of-the-art black-box tools conceived for Web Services, adopting evolutionary-, dependencies- and mutation-based generation techniques, and the pro- posed uTest combinatorial tool. The comparison shows little differences in coverage values; uTest pairwise testing achieves better average failure rate with a considerably lower number of tests. Web Services tools do not perform for MSA as well as a tester might expect, highlighting the need for MSA-specific techniques.File | Dimensione | Formato | |
---|---|---|---|
QUATIC 2022 from Proceedings 978-3-031-14179-9.pdf
accesso aperto
Tipologia:
Altro materiale allegato
Licenza:
Non specificato
Dimensione
892.26 kB
Formato
Adobe PDF
|
892.26 kB | Adobe PDF | Visualizza/Apri |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.