Sequence mining for automatic generation of software tests from GUI event traces

Bibliographic Details
Main Author: Oliveira, Alberto
Publication Date: 2020
Other Authors: Freitas, Ricardo, Jorge, Alípio, Amorim, Vítor, Moniz, Nuno, Paiva, Ana C.R., Azevedo, Paulo J.
Language: eng
Source: Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
Download full: http://hdl.handle.net/1822/71380
Summary: In today’s software industry, systems are constantly changing. To maintain their quality and to prevent failures at controlled costs is a challenge. One way to foster quality is through thorough and systematic testing. Therefore, the definition of adequate tests is crucial for saving time, cost and effort. This paper presents a framework that generates software test cases automatically based on user interaction data. We propose a data-driven software test generation solution that combines the use of frequent sequence mining and Markov chain modeling. We assess the quality of the generated test cases by empirically evaluating their coverage with respect to observed user interactions and code. We also measure the plausibility of the distribution of the events in the generated test sets using the Kullback-Leibler divergence.
id RCAP_770787a801c3033c65a8d1df911b5042
oai_identifier_str oai:repositorium.sdum.uminho.pt:1822/71380
network_acronym_str RCAP
network_name_str Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
repository_id_str https://opendoar.ac.uk/repository/7160
spelling Sequence mining for automatic generation of software tests from GUI event tracesData miningFrequent pattern miningMarkov chainsSoftware testingIn today’s software industry, systems are constantly changing. To maintain their quality and to prevent failures at controlled costs is a challenge. One way to foster quality is through thorough and systematic testing. Therefore, the definition of adequate tests is crucial for saving time, cost and effort. This paper presents a framework that generates software test cases automatically based on user interaction data. We propose a data-driven software test generation solution that combines the use of frequent sequence mining and Markov chain modeling. We assess the quality of the generated test cases by empirically evaluating their coverage with respect to observed user interactions and code. We also measure the plausibility of the distribution of the events in the generated test sets using the Kullback-Leibler divergence.This work is financed by the Northern Regional Operational Program, Portugal 2020 and the European Union, through the European Regional Development Fund (https://www.rtcom.pt/wordpress/rute-randtech-update-and-test-environment/). Also, this work is financed by National Funds through the Portuguese funding agency, FCT - Fundação para a Ciência e a Tecnologia, within project UIDB/50014/2020.SpringerUniversidade do MinhoOliveira, AlbertoFreitas, RicardoJorge, AlípioAmorim, VítorMoniz, NunoPaiva, Ana C.R.Azevedo, Paulo J.20202020-01-01T00:00:00Zconference paperinfo:eu-repo/semantics/publishedVersionapplication/pdfhttp://hdl.handle.net/1822/71380engOliveira A. et al. (2020) Sequence Mining for Automatic Generation of Software Tests from GUI Event Traces. In: Analide C., Novais P., Camacho D., Yin H. (eds) Intelligent Data Engineering and Automated Learning – IDEAL 2020. IDEAL 2020. Lecture Notes in Computer Science, vol 12490. Springer, Cham. https://doi.org/10.1007/978-3-030-62365-4_49978-3-030-62364-70302-974310.1007/978-3-030-62365-4_49978-3-030-62365-4https://link.springer.com/chapter/10.1007%2F978-3-030-62365-4_49info:eu-repo/semantics/openAccessreponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiainstacron:RCAAP2024-05-11T05:51:51Zoai:repositorium.sdum.uminho.pt:1822/71380Portal AgregadorONGhttps://www.rcaap.pt/oai/openaireinfo@rcaap.ptopendoar:https://opendoar.ac.uk/repository/71602025-05-28T15:32:44.112093Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiafalse
dc.title.none.fl_str_mv Sequence mining for automatic generation of software tests from GUI event traces
title Sequence mining for automatic generation of software tests from GUI event traces
spellingShingle Sequence mining for automatic generation of software tests from GUI event traces
Oliveira, Alberto
Data mining
Frequent pattern mining
Markov chains
Software testing
title_short Sequence mining for automatic generation of software tests from GUI event traces
title_full Sequence mining for automatic generation of software tests from GUI event traces
title_fullStr Sequence mining for automatic generation of software tests from GUI event traces
title_full_unstemmed Sequence mining for automatic generation of software tests from GUI event traces
title_sort Sequence mining for automatic generation of software tests from GUI event traces
author Oliveira, Alberto
author_facet Oliveira, Alberto
Freitas, Ricardo
Jorge, Alípio
Amorim, Vítor
Moniz, Nuno
Paiva, Ana C.R.
Azevedo, Paulo J.
author_role author
author2 Freitas, Ricardo
Jorge, Alípio
Amorim, Vítor
Moniz, Nuno
Paiva, Ana C.R.
Azevedo, Paulo J.
author2_role author
author
author
author
author
author
dc.contributor.none.fl_str_mv Universidade do Minho
dc.contributor.author.fl_str_mv Oliveira, Alberto
Freitas, Ricardo
Jorge, Alípio
Amorim, Vítor
Moniz, Nuno
Paiva, Ana C.R.
Azevedo, Paulo J.
dc.subject.por.fl_str_mv Data mining
Frequent pattern mining
Markov chains
Software testing
topic Data mining
Frequent pattern mining
Markov chains
Software testing
description In today’s software industry, systems are constantly changing. To maintain their quality and to prevent failures at controlled costs is a challenge. One way to foster quality is through thorough and systematic testing. Therefore, the definition of adequate tests is crucial for saving time, cost and effort. This paper presents a framework that generates software test cases automatically based on user interaction data. We propose a data-driven software test generation solution that combines the use of frequent sequence mining and Markov chain modeling. We assess the quality of the generated test cases by empirically evaluating their coverage with respect to observed user interactions and code. We also measure the plausibility of the distribution of the events in the generated test sets using the Kullback-Leibler divergence.
publishDate 2020
dc.date.none.fl_str_mv 2020
2020-01-01T00:00:00Z
dc.type.driver.fl_str_mv conference paper
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
status_str publishedVersion
dc.identifier.uri.fl_str_mv http://hdl.handle.net/1822/71380
url http://hdl.handle.net/1822/71380
dc.language.iso.fl_str_mv eng
language eng
dc.relation.none.fl_str_mv Oliveira A. et al. (2020) Sequence Mining for Automatic Generation of Software Tests from GUI Event Traces. In: Analide C., Novais P., Camacho D., Yin H. (eds) Intelligent Data Engineering and Automated Learning – IDEAL 2020. IDEAL 2020. Lecture Notes in Computer Science, vol 12490. Springer, Cham. https://doi.org/10.1007/978-3-030-62365-4_49
978-3-030-62364-7
0302-9743
10.1007/978-3-030-62365-4_49
978-3-030-62365-4
https://link.springer.com/chapter/10.1007%2F978-3-030-62365-4_49
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.format.none.fl_str_mv application/pdf
dc.publisher.none.fl_str_mv Springer
publisher.none.fl_str_mv Springer
dc.source.none.fl_str_mv reponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
instacron:RCAAP
instname_str FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
instacron_str RCAAP
institution RCAAP
reponame_str Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
collection Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
repository.name.fl_str_mv Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
repository.mail.fl_str_mv info@rcaap.pt
_version_ 1833595383209525248