том 29 издание 5 номер публикации 127

Testing the past: can we still run tests in past snapshots for Java projects?

Тип публикацииJournal Article
Дата публикации2024-07-30
scimago Q1
wos Q1
white level БС1
SJR0.895
CiteScore7.9
Impact factor3.6
ISSN13823256, 15737616
Краткое описание

Building past snapshots of a software project has shown to be of interest both for researchers and practitioners. However, little attention has been devoted specifically to tests available in those past snapshots, which are fundamental for the maintenance of old versions still in production. The aim of this study is to determine to which extent tests of past snapshots can be executed successfully, which would mean these past snapshots are still testable. Given a software project, we build all its past snapshots from source code, including tests, and then run the tests. When tests do not result in success, we also record the reasons, allowing us to determine factors that make tests fail. We run this method on a total of 86 Java projects. On average, for 52.53% of the project snapshots on which tests can be built, all tests pass. However, on average, 94.14% of tests pass in previous snapshots when we take into account the percentage of tests passing in the snapshots used for building those tests. In real software projects, successfully running tests in past snapshots is not something that we can take for granted: we have found that in a large proportion of the projects we studied this does not happen frequently. We have found that the building from source code is the main limitation when running tests on past snapshots. However, we have found some projects for which tests run successfully in a very large fraction of past snapshots, which allows us to identify good practices. We also provide a framework and metrics to quantify testability (the extent to which we are able to run tests of a snapshot with a success result) of past snapshots from several points of view, which simplifies new analyses on this matter, and could help to measure how any project performs in this respect.

Для доступа к списку цитирований публикации необходимо авторизоваться.

Топ-30

Журналы

1
Empirical Software Engineering
1 публикация, 100%
1

Издатели

1
Springer Nature
1 публикация, 100%
1
  • Мы не учитываем публикации, у которых нет DOI.
  • Статистика публикаций обновляется еженедельно.

Вы ученый?

Создайте профиль, чтобы получать персональные рекомендации коллег, конференций и новых статей.
Метрики
1
Поделиться
Цитировать
ГОСТ |
Цитировать
Maes Bermejo M. et al. Testing the past: can we still run tests in past snapshots for Java projects? // Empirical Software Engineering. 2024. Vol. 29. No. 5. 127
ГОСТ со всеми авторами (до 50) Скопировать
Maes Bermejo M., Gallego M., Gortázar F., Robles G., Gonzalez-Barahona J. M. Testing the past: can we still run tests in past snapshots for Java projects? // Empirical Software Engineering. 2024. Vol. 29. No. 5. 127
RIS |
Цитировать
TY - JOUR
DO - 10.1007/s10664-024-10530-z
UR - https://link.springer.com/10.1007/s10664-024-10530-z
TI - Testing the past: can we still run tests in past snapshots for Java projects?
T2 - Empirical Software Engineering
AU - Maes Bermejo, Michel
AU - Gallego, Micael
AU - Gortázar, Francisco
AU - Robles, Gregorio
AU - Gonzalez-Barahona, Jesus M.
PY - 2024
DA - 2024/07/30
PB - Springer Nature
IS - 5
VL - 29
SN - 1382-3256
SN - 1573-7616
ER -
BibTex
Цитировать
BibTex (до 50 авторов) Скопировать
@article{2024_Maes Bermejo,
author = {Michel Maes Bermejo and Micael Gallego and Francisco Gortázar and Gregorio Robles and Jesus M. Gonzalez-Barahona},
title = {Testing the past: can we still run tests in past snapshots for Java projects?},
journal = {Empirical Software Engineering},
year = {2024},
volume = {29},
publisher = {Springer Nature},
month = {jul},
url = {https://link.springer.com/10.1007/s10664-024-10530-z},
number = {5},
pages = {127},
doi = {10.1007/s10664-024-10530-z}
}
Ошибка в публикации?