2020
Conference article  Restricted

Learning-to-rank vs ranking-to-learn: strategies for regression testing in continuous integration

Bertolino A., Guerriero A., Miranda B., Pietrantuono R., Russo S.

Test selection  regression testing  Test prioritization  Machine learning  Continuous integration  Regression testing  test prioritization  test selection  machine learning  continuousintegration 

In Continuous Integration (CI), regression testing is constrained by the time between commits. This demands for careful selection and/or prioritization of test cases within test suites too large to be run entirely. To this aim, some Machine Learning (ML) techniques have been proposed, as an alternative to deterministic approaches. Two broad strategies for ML-based prioritization are learning-to-rank and what we call ranking-to-learn (i.e., reinforcement learning). Various ML algorithms can be applied in each strategy. In this paper we introduce ten of such algorithms for adoption in CI practices, and perform a comprehensive study comparing them against each other using subjects from the Apache Commons project. We analyze the influence of several features of the code under test and of the test process. The results allow to draw criteria to support testers in selecting and tuning the technique that best fits their context.

Source: 2020 IEEE/ACM 42nd International Conference on Software Engineering (ICSE), pp. 1–12, 6-11/07/2020


Metrics



Back to previous page
BibTeX entry
@inproceedings{oai:it.cnr:prodotti:435440,
	title = {Learning-to-rank vs ranking-to-learn: strategies for regression testing in continuous integration},
	author = {Bertolino A. and Guerriero A. and Miranda B. and Pietrantuono R. and Russo S.},
	doi = {10.1145/3377811.3380369},
	booktitle = {2020 IEEE/ACM 42nd International Conference on Software Engineering (ICSE), pp. 1–12, 6-11/07/2020},
	year = {2020}
}