NodeSRT: A Selective Regression Testing Tool for Node.js Application
Yufeng Chen

TL;DR
NodeSRT is a novel framework for selective regression testing in Node.js applications that significantly reduces testing time by accurately identifying affected tests through static and dynamic analysis.
Contribution
This paper introduces NodeSRT, the first selective regression testing tool tailored for Node.js, addressing challenges posed by JavaScript's dynamic nature and Node's asynchronous model.
Findings
NodeSRT is 250% faster than retest-all.
It is 450% more precise than Jest OnlyChange.
Successfully applied to open-source projects Uppy and Simorgh.
Abstract
Node.js is one of the most popular frameworks for building web applications. As software systems mature, the cost of running their entire regression test suite can become significant. Selective Regression Testing (SRT) is a technique that executes only a subset of tests the regression test suite can detect software failures more efficiently. Previous SRT studies mainly focused on standard desktop applications. Node.js applications are considered hard to perform test reduction because of Node's asynchronous, event-driven programming model and because JavaScript is a dynamic programming language. In this paper, we present NodeSRT, a Selective Regression Testing framework for Node.js applications. By performing static and dynamic analysis, NodeSRT identifies the relationship between changed methods and tests, then reduces the regression test suite to only tests that are affected by the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Software Reliability and Analysis Research · Software System Performance and Reliability
