Lune

ICSE2023Top-tier venue

Test Selection for Unified Regression Testing

Shuai Wang, Xinyu Lian, Darko Marinov, Tianyin Xu

Abstract

Today's software failures have two dominating root causes: code bugs and misconfigurations. To combat failure-inducing software changes, unified regression testing (URT) is needed to synergistically test the changed code and all changed production configurations for deployment reliability. However, URT could incur high cost, as it needs to run a large number of tests under multiple configurations. Regression test selection (RTS) can reduce regression testing cost. Unfortunately, no existing RTS technique reasons about code and configuration changes collectively. We introduce Unified Regression Test Selection (uRTS) to effectively reduce the cost of URT. uRTS supports project changes on 1) code only, 2) configurations only, and 3) both code and configurations. It selects regular tests and configuration tests with a unified selection algorithm. The uRTS algorithm analyzes code and configuration dependencies of each test across runs and across configurations. uRTS provides the same safety guarantee as the state-of-the-art RTS while selecting fewer tests and, more importantly, reducing the end-to-end testing time. We implemented uRTS on top of Ekstazi (a RTS tool for code changes) and Ctest (a configuration testing framework). We evaluate uRTS on hundreds of code revisions and dozens of configurations of five large projects. The results show that uRTS reduces the end-to-end testing time, on average, by 3.64X compared to executing all tests and 1.87X compared to a competitive reference solution that directly extends RTS for URT.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Acto: Automatic End-to-End Testing for Operation Correctness of Cloud System Management cites Understanding and discovering software configuration dependencies in cloud and datacenter systems
  • Acto: Automatic End-to-End Testing for Operation Correctness of Cloud System Management cites Testing Configuration Changes in Context to Prevent Production Failures
  • Test-case prioritization for configuration testing cites Rex: Preventing Bugs and Misconfiguration in Large Services Using Correlated Change Analysis
  • Test-case prioritization for configuration testing cites Understanding and discovering software configuration dependencies in cloud and datacenter systems
  • Test-case prioritization for configuration testing cites Testing Configuration Changes in Context to Prevent Production Failures
  • Large Language Models as Configuration Validators cites Acto: Automatic End-to-End Testing for Operation Correctness of Cloud System Management
  • Large Language Models as Configuration Validators cites Test-case prioritization for configuration testing
  • Large Language Models as Configuration Validators cites Rex: Preventing Bugs and Misconfiguration in Large Services Using Correlated Change Analysis
  • Large Language Models as Configuration Validators cites Understanding and discovering software configuration dependencies in cloud and datacenter systems
  • Large Language Models as Configuration Validators cites Testing Configuration Changes in Context to Prevent Production Failures
  • Understanding and discovering software configuration dependencies in cloud and datacenter systems cites Rex: Preventing Bugs and Misconfiguration in Large Services Using Correlated Change Analysis
  • Understanding and discovering software configuration dependencies in cloud and datacenter systems cites Testing Configuration Changes in Context to Prevent Production Failures
  • Testing Configuration Changes in Context to Prevent Production Failures cites Understanding and discovering software configuration dependencies in cloud and datacenter systems
  • Fidelity of Cloud Emulators: The Imitation Game of Testing Cloud-Based Software cites Virtual Device Farms for Mobile App Testing at Scale: A Pursuit for Fidelity, Efficiency, and Accessibility
  • Virtual Device Farms for Mobile App Testing at Scale: A Pursuit for Fidelity, Efficiency, and Accessibility cites Testing Configuration Changes in Context to Prevent Production Failures
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Virtual Device Farms for Mobile App Testing at Scale: A Pursuit for Fidelity, Efficiency, and AccessibilityHao Lin, Jiaxing Qiu, Hongyi Wang, Zhenhua Li et al.MobiCom 2023 · 18 citations
  2. Acto: Automatic End-to-End Testing for Operation Correctness of Cloud System ManagementJiawei Tyler Gu, Xudong Sun, Wentao Zhang, Yuxuan Jiang et al.SOSP 2023 · 17 citations
  3. Large Language Models as Configuration ValidatorsXinyu Lian, Yinfang Chen, Runxiang Cheng, Jie Huang et al.ICSE 2025 · 7 citations
  4. Fidelity of Cloud Emulators: The Imitation Game of Testing Cloud-Based SoftwareAnna Mazhar, Saad Sher Alam, William X. Zheng, Yinfang Chen et al.ICSE 2025 · 2 citations
  5. Automated Generation of Issue-Reproducing Tests by Combining LLMs and Search-Based TestingKonstantinos Kitsios, Marco Castelluccio, Alberto BacchelliASE 2025 · 1 citation

Builds on7

  1. Rex: Preventing Bugs and Misconfiguration in Large Services Using Correlated Change AnalysisSonu Mehta, Ranjita Bhagwan, Rahul Kumar, Chetan Bansal et al.NSDI 2020 · 65 citations
  2. Testing Configuration Changes in Context to Prevent Production FailuresXudong Sun, Runxiang Cheng, Jianyan Chen, Elaine Ang et al.OSDI 2020 · 61 citations
  3. Understanding and discovering software configuration dependencies in cloud and datacenter systemsQingrong Chen, Teng Wang, Owolabi Legunsen, Shanshan Li et al.FSE 2020 · 54 citations
  4. Empirically evaluating readily available information for regression test optimization in continuous integrationDaniel Elsner, Florian Hauer, Alexander Pretschner, Silke ReimerISSTA 2021 · 45 citations
  5. Test-case prioritization for configuration testingRunxiang Cheng, Lingming Zhang, Darko Marinov, Tianyin XuISSTA 2021 · 34 citations

Related papers

  1. Hybrid Regression Test Selection by Integrating File and Method DependencesGuofeng Zhang, Luyao Liu, Zhenbang Chen, Ji WangASE 2024 · 2 citations
  2. More Precise Regression Test Selection via Reasoning about Semantics-Modifying ChangesYu Liu, Jiyang Zhang, Pengyu Nie, Milos Gligoric et al.ISSTA 2023 · 19 citations
  3. Efficient Incremental Code Coverage Analysis for Regression Test SuitesJiale Amber Wang, Kaiyuan Wang, Pengyu NieASE 2024 · 1 citation
  4. GameRTS: A Regression Testing Framework for Video GamesJiongchi Yu, Yuechen Wu, Xiaofei Xie, Wei Le et al.ICSE 2023 · 5 citations
  5. ECFuzz: Effective Configuration Fuzzing for Large-Scale SystemsJunqiang Li, Senyi Li, Keyao Li, Falin Luo et al.ICSE 2024 · 12 citations
Dusk over the sea between two cliffs drawn in fine vertical lines