An Industrial Study on the Challenges and Effects of Diversity-Based Testing in Continuous Integration
Paper in proceeding, 2023

Many test prioritisation techniques have been proposed in order to improve test effectiveness of Continuous Integration (CI) pipelines. Particularly, diversity-based testing (DBT) has shown promising and competitive results to improve test effectiveness. However, the technical and practical challenges of introducing test prioritisation in CI pipelines are rarely discussed, thus hindering the applicability and adoption of those proposed techniques. This research builds on our prior work in which we evaluated diversity-based techniques in an industrial setting. This work investigates the factors that influence the adoption of DBT both in connection to improvements in test cost-effectiveness, as well as the process and human related challenges to transfer and use DBT prioritisation in CI pipelines. We report on a case study considering the CI pipeline of Axis Communications in Sweden. We performed a thematic analysis of a focus group interview with senior practitioners at the company to identify the challenges and perceived benefits of using test prioritisation in their test process. Our thematic analysis reveals a list of ten challenges and seven perceived effects of introducing test prioritisation in CI cycles. For instance, our participants emphasized the importance of introducing comprehensible and transparent techniques that instill trust in its users. Moreover, practitioners prefer techniques compatible with their current test infrastructure (e.g., test framework and environments) in order to reduce instrumentation efforts and avoid disrupting their current setup. In conclusion, we have identified tradeoffs between different test prioritisation techniques pertaining to the technical, process and human aspects of regression testing in CI. We summarize those findings in a list of seven advantages that refer to specific stakeholder interests and describe the effects of adopting DBT in CI pipelines.

diversity based testing

regression testin

test suit

continuous integration

emprirical study

Author

Azeem Ahmad

Ericsson

Linköping University

Francisco Gomes

Software Engineering 1

University of Gothenburg

Eduard Enoiu

Malardalen University

Kristian Sandahl

Linköping University

Ola Leifler

Linköping University

IEEE International Conference on Software Quality, Reliability and Security, QRS

26939177 (ISSN)

337-347
9798350319583 (ISBN)

23rd IEEE International Conference on Software Quality, Reliability, and Security, QRS 2023
Chiang Mai, Thailand,

Subject Categories (SSIF 2025)

Software Engineering

DOI

10.1109/QRS60937.2023.00041

More information

Latest update

6/26/2025