arrow
Return

Test prioritization in continuous integration environments

delete2018-12-01
delete38
delete
OA
AI
A
Alireza Haghighatkhah *
M
Mika Mäntylä
M
Markku Oivo
P
Pasi Kuvaja
DOI:10.1016/j.jss.2018.08.061delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Two heuristics namely diversity-based (DBTP) and history-based test prioritization (HBTP) have been separately proposed in the literature. Yet, their combination has not been widely studied in continuous integration (CI) environments. The objective of this study is to catch regression faults earlier, allowing developers to integrate and verify their changes more frequently and continuously. To achieve this, we investigated six open-source projects, each of which included several builds over a large time period. Findings indicate that previous failure knowledge seems to have strong predictive power in CI environments and can be used to effectively prioritize tests. HBTP does not necessarily need to have large data, and its effectiveness improves to a certain degree with larger history interval. DBTP can be used effectively during the early stages, when no historical data is available, and also combined with HBTP to improve its effectiveness. Among the investigated techniques, we found that history-based diversity using NCD Multiset is superior in terms of effectiveness but comes with relatively higher overhead in terms of method execution time. Test prioritization in CI environments can be effectively performed with negligible investment using previous failure knowledge, and its effectiveness can be further improved by considering dissimilarities among the tests. (C) 2018 Elsevier Inc. All rights reserved.
Keywords:
Test case prioritization
Regression testing
Continuous integration
Build history
Test diversity
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Journal of Systems and Software cover
Journal of Systems and Software
IF:
4.1
Papers:
5.4K
Citations:
8.4K

Organization

U
University of Oulu
Scholars:
1.5W
Papers: 1.3W
Citations: 1.6W