Lune

ISSTA2024Top-tier venue

Revisiting Test-Case Prioritization on Long-Running Test Suites

Runxiang Cheng, Shuai Wang, Reyhaneh Jabbarvand, Darko Marinov

2024Year
2Citations
1Top-tier citations

Abstract

The prolonged continuous integration (CI) runs are a ecting timely feedback to software developers. Test-case prioritization (TCP) aims to expose faults sooner by reordering tests such that the ones more likely to fail are run earlier. TCP is thus especially important for long-running test suites. While many studies have explored TCP, they are based on outdated CI builds from over 10 years ago with test suites that last several minutes, or builds from inaccessible, proprietary projects. In this paper, we present LRTS, the rst dataset of long-running test suites, with 21,255 CI builds and 57,437 testsuite runs from 10 large-scale, open-source projects that use Jenkins CI. LRTS spans from 2020 to 2023, with an average test-suite run duration of 6.5 hours. On LRTS, we study the e ectiveness of 59 leading TCP techniques, the impact of confounding test failures on TCP, and TCP for failing tests with no prior failures. We revisit prior key ndings (9 con rmed, 2 refuted) and establish 3 new ndings. Our results show that prioritizing faster tests that recently failed performs the best, outperforming the sophisticated techniques. CCS Concepts • Software and its engineering → Software testing and debugging; Software reliability.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

Cited by top-tier papers1

Ask how each one uses it

Builds on7

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines