You are required to read and agree to the below before accessing a full-text version of an article in the IDE article repository.

The full-text document you are about to access is subject to national and international copyright laws. In most cases (but not necessarily all) the consequence is that personal use is allowed given that the copyright owner is duly acknowledged and respected. All other use (typically) require an explicit permission (often in writing) by the copyright owner.

For the reports in this repository we specifically note that

  • the use of articles under IEEE copyright is governed by the IEEE copyright policy (available at http://www.ieee.org/web/publications/rights/copyrightpolicy.html)
  • the use of articles under ACM copyright is governed by the ACM copyright policy (available at http://www.acm.org/pubs/copyright_policy/)
  • technical reports and other articles issued by M‰lardalen University is free for personal use. For other use, the explicit consent of the authors is required
  • in other cases, please contact the copyright owner for detailed information

By accepting I agree to acknowledge and respect the rights of the copyright owner of the document I am about to access.

If you are in doubt, feel free to contact webmaster@ide.mdh.se

Improving Continuous Integration with Similarity-based Test Case Selection

Fulltext:


Authors:

Francisco Gomes de Oliveira Neto , Azeem Ahmad , Ola Leifler , Kristian Sandhal , Eduard Paul Enoiu

Publication Type:

Conference/Workshop Paper

Venue:

13th IEEE/ACM International Workshop on Automation of Software Test


Abstract

Automated testing is an essential component of Continuous Integration (CI) and Delivery (CD), such as scheduling automated test sessions on overnight builds. That allows stakeholders to execute entire test suites and achieve exhaustive test coverage, since running all tests is often infeasible during work hours, i.e., in parallel to development activities. On the other hand, developers also need test feedback from CI servers when pushing changes, even if not all test cases are executed. In this paper we evaluate similarity-based test case selection (SBTCS) on integration-level tests executed on continuous integration pipelines of two companies. We select test cases that maximise diversity of test coverage and reduce feedback time to developers. Our results confirm existing evidence that SBTCS is a strong candidate for test optimisation, by reducing feedback time (up to 92% faster in our case studies) while achieving full test coverage using only information from test artefacts themselves.

Bibtex

@inproceedings{de Oliveira Neto5076,
author = {Francisco Gomes de Oliveira Neto and Azeem Ahmad and Ola Leifler and Kristian Sandhal and Eduard Paul Enoiu},
title = {Improving Continuous Integration with Similarity-based Test Case Selection},
month = {March},
year = {2018},
booktitle = {13th IEEE/ACM International Workshop on Automation of Software Test},
url = {http://www.es.mdh.se/publications/5076-}
}