Hyppää sisältöön
    • FI
    • ENG
  • FI
  • /
  • EN
OuluREPO – Oulun yliopiston julkaisuarkisto / University of Oulu repository
Näytä viite 
  •   OuluREPO etusivu
  • Oulun yliopisto
  • Avoin saatavuus
  • Näytä viite
  •   OuluREPO etusivu
  • Oulun yliopisto
  • Avoin saatavuus
  • Näytä viite
JavaScript is disabled for your browser. Some features of this site may not work without it.

Test case prioritization using test similarities

Haghighatkhah, Alireza; Mäntylä, Mika; Oivo, Markku; Kuvaja, Pasi (2018-11-03)

 
Avaa tiedosto
nbnfi-fe201902134792.pdf (1000.Kt)
nbnfi-fe201902134792_meta.xml (36.16Kt)
nbnfi-fe201902134792_solr.xml (33.10Kt)
Lataukset: 

URL:
https://doi.org/10.1007/978-3-030-03673-7_18

Haghighatkhah, Alireza
Mäntylä, Mika
Oivo, Markku
Kuvaja, Pasi
Springer Nature
03.11.2018

Haghighatkhah A., Mäntylä M., Oivo M., Kuvaja P. (2018) Test Case Prioritization Using Test Similarities. In: Kuhrmann M. et al. (eds) Product-Focused Software Process Improvement. PROFES 2018. Lecture Notes in Computer Science, vol 11271. Springer, Cham. https://doi.org/10.1007/978-3-030-03673-7_18

https://rightsstatements.org/vocab/InC/1.0/
© Springer Nature Switzerland AG 2018. This is a post-peer-review, pre-copyedit version of an article published in Product-Focused Software Process Improvement. PROFES 2018. The final authenticated version is available online at: http://dx.doi.org/10.1007/978-3-030-03673-7_18.
https://rightsstatements.org/vocab/InC/1.0/
doi:https://doi.org/10.1007/978-3-030-03673-7_18
Näytä kaikki kuvailutiedot
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi-fe201902134792
Tiivistelmä

Abstract

A classical heuristic in software testing is to reward diversity, which implies that a higher priority must be assigned to test cases that differ the most from those already prioritized. This approach is commonly known as similarity-based test prioritization (SBTP) and can be realized using a variety of techniques. The objective of our study is to investigate whether SBTP is more effective at finding defects than random permutation, as well as determine which SBTP implementations lead to better results. To achieve our objective, we implemented five different techniques from the literature and conducted an experiment using the defects4j dataset, which contains 395 real faults from six real-world open-source Java programs. Findings indicate that running the most dissimilar test cases early in the process is largely more effective than random permutation (Vargha–Delaney A [VDA]: 0.76–0.99 observed using normalized compression distance). No technique was found to be superior with respect to the effectiveness. Locality-sensitive hashing was, to a small extent, less effective than other SBTP techniques (VDA: 0.38 observed in comparison to normalized compression distance), but its speed largely outperformed the other techniques (i.e., it was approximately 5–111 times faster). Our results bring to mind the well-known adage, “don’t put all your eggs in one basket”. To effectively consume a limited testing budget, one should spread it evenly across different parts of the system by running the most dissimilar test cases early in the testing process.

Kokoelmat
  • Avoin saatavuus [37957]
oulurepo@oulu.fiOulun yliopiston kirjastoOuluCRISLaturiMuuntaja
SaavutettavuusselosteTietosuojailmoitusYlläpidon kirjautuminen
 

Selaa kokoelmaa

NimekkeetTekijätJulkaisuajatAsiasanatUusimmatSivukartta

Omat tiedot

Kirjaudu sisäänRekisteröidy
oulurepo@oulu.fiOulun yliopiston kirjastoOuluCRISLaturiMuuntaja
SaavutettavuusselosteTietosuojailmoitusYlläpidon kirjautuminen