Software Aging Analysis in a Testing Framework

Douglas Dias, Fumio Machida, Ermeson Andrade · 2023

Jest is a popular JavaScript test framework widely utilized in software development for its efficient test execution capabilities. However, like any software, test frameworks such as Jest are susceptible to memory degradation, a critical symptom of software aging that can potentially impact Jest’s performance, especially during the execution of large-scale test suites. This paper addresses the effects of memory degradation in Jest by conducting an analysis of software aging symptoms. Our investigation primarily focuses on the impact of memory degradation on Jest during the execution of extensive test suites. Specifically, we examine a parameter configuration introduced in Jest version 29, which aims to mitigate memory consumption issues in newer versions of Jest by imposing limitations on the idle memory of its workers. Through our analysis, we assess the effectiveness of this configuration as a viable rejuvenation technique for Jest. The results of our study reveal the challenges posed by memory degradation in Jest, emphasizing the significance of addressing memory consumption issues when running extensive test suites. These findings contribute to a deeper understanding of software aging symptoms in this widely-used test framework and provide valuable insights for developers, testers, and professionals relying on Jest for testing their applications.

Read the paper · More papers on PaperTik