Predictive Test Selection

10/11/2018
by   Mateusz Machalica, et al.
0

Change-based testing is a key component of continuous integration at Facebook. However, a large number of tests coupled with a high rate of changes committed to our monolithic repository make it infeasible to run all potentially-impacted tests on each change. We propose a new predictive test selection strategy which selects a subset of tests to exercise for each change submitted to the continuous integration system. The strategy is learned from a large dataset of historical test outcomes using basic machine learning techniques. Deployed in production, the strategy reduces the total infrastructure cost of testing code changes by a factor of two, while guaranteeing that over 95 changes are still reported back to developers. The method we present here also accounts for the non-determinism of test outcomes, also known as test flakiness.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/14/2022

An approach for Test Impact Analysis on the Integration Level in Java programs

Test Impact Analysis is an approach to obtain a subset of tests impacted...
research
02/14/2022

Gamekins: Gamifying Software Testing in Jenkins

Developers have to write thorough tests for their software in order to f...
research
10/16/2021

Preproduction Deploys: Cloud-Native Integration Testing

The microservice architecture for cloud-based systems is extended to not...
research
03/17/2021

An Integration Test Order Strategy to Consider Control Coupling

Integration testing is a very important step in software testing. Existi...
research
08/21/2019

There is no Reliable Way to Detect Hacked Ballot-Marking Devices

Election system vendors are marketing ballot-marking devices (BMDs) as a...
research
12/09/2021

A Qualitative Study on the Sources, Impacts, and Mitigation Strategies of Flaky Tests

Test flakiness forms a major testing concern. Flaky tests manifest non-d...
research
08/26/2022

Task Selection for AutoML System Evaluation

Our goal is to assess if AutoML system changes - i.e., to the search spa...

Please sign up or login with your details

Forgot password? Click here to reset