Predictive Test Selection
Predictive Test Selection
复制标题
预测测试选择
DOI:
--
复制
发表时间:
2018
期刊:
影响因子:
--
通讯作者:
S. Chandra
中科院分区:
文献类型:
--
作者:
Mateusz Machalica;A. Samylkin;Meredith Porth;S. Chandra
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% of individual test failures and over 99.9% of faulty 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.
DOI:
10.1145/3106237.3106297
发表时间:
2017
期刊:
Joint Meeting on Foundations of Software Engineering
影响因子:
--
作者:
Celik, Ahmet;Vasic, Marko;Milicevic, Aleksandar;Gligoric, Milos
通讯作者:
Gligoric, Milos