JUGE: An Infrastructure for Benchmarking Java Unit Test Generators

Xavier Devroey, Alessio Gambi, Juan Pablo Galeotti, René Just, Fitsum Kifetew +2 more
6/14/2021
cs.SE

Official code: JUnitContest/JUGE (13 stars, Java, GPL-3.0, last commit 2024-02-09).

Abstract

Researchers and practitioners have designed and implemented various automated test case generators to support effective software testing. Such generators exist for various languages (e.g., Java, C#, or Python) and for various platforms (e.g., desktop, web, or mobile applications).

Show full abstract

Such generators exhibit varying effectiveness and efficiency, depending on the testing goals they aim to satisfy (e.g., unit-testing of libraries vs. system-testing of entire applications) and the underlying techniques they implement. In this context, practitioners need to be able to compare different generators to identify the most suited one for their requirements, while researchers seek to identify future research directions. This can be achieved through the systematic execution of large-scale evaluations of different generators. However, the execution of such empirical evaluations is not trivial and requires a substantial effort to collect benchmarks, setup the evaluation infrastructure, and collect and analyse the results. In this paper, we present our JUnit Generation benchmarking infrastructure (JUGE) supporting generators (e.g., search-based, random-based, symbolic execution, etc.) seeking to automate the production of unit tests for various purposes (e.g., validation, regression testing, fault localization, etc.). The primary goal is to reduce the overall effort, ease the comparison of several generators, and enhance the knowledge transfer between academia and industry by standardizing the evaluation and comparison process. Since 2013, eight editions of a unit testing tool competition, co-located with the Search-Based Software Testing Workshop, have taken place and used and updated JUGE. As a result, an increasing amount of tools (over ten) from both academia and industry have been evaluated on JUGE, matured over the years, and allowed the identification of future research directions.

View on arXivView PDF

Code Implementations(1)

JUnitContest/JUGEOfficial100%
GPL-3.0

junit tools contest infrastructure

1310Java, ShellOct 11, 20192 years agoGPL-3.0

Similar Papers

Cite this paper

@article{devroey2021juge,
  title  = {JUGE: An Infrastructure for Benchmarking Java Unit Test Generators},
  author = {Xavier Devroey and Alessio Gambi and Juan Pablo Galeotti and René Just and Fitsum Kifetew and Annibale Panichella and Sebastiano Panichella},
  year   = {2021},
  eprint = {2106.07520},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.07520}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.07520.svg)](https://codeofpaper.com/paper/2106.07520)

Discussion