TestSpark: IntelliJ IDEA's Ultimate Test Generation Companion
Arkadii Sapozhnikov, Mitchell Olsthoorn, Annibale Panichella, Vladimir, Kovalenko, Pouria Derakhshanfar

TL;DR
TestSpark is an IntelliJ IDEA plugin that simplifies automated unit test generation using AI and search-based techniques, enabling easy test creation, modification, and integration within the IDE.
Contribution
It introduces a user-friendly, extendable plugin that combines search-based and AI-driven test generation methods directly in the IDE environment.
Findings
TestSpark enables quick test generation within IDE
It incorporates LLMs for improved test creation
Open-source and easily extendable tool
Abstract
Writing software tests is laborious and time-consuming. To address this, prior studies introduced various automated test-generation techniques. A well-explored research direction in this field is unit test generation, wherein artificial intelligence (AI) techniques create tests for a method/class under test. While many of these techniques have primarily found applications in a research context, existing tools (e.g., EvoSuite, Randoop, and AthenaTest) are not user-friendly and are tailored to a single technique. This paper introduces TestSpark, a plugin for IntelliJ IDEA that enables users to generate unit tests with only a few clicks directly within their Integrated Development Environment (IDE). Furthermore, TestSpark also allows users to easily modify and run each generated test and integrate them into the project workflow. TestSpark leverages the advances of search-based test…
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.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Software Engineering Research · Software System Performance and Reliability
