"Using Large Language Models to Generate JUnit Tests: An Empirical Study" accepted at EASE 2024.

"Using Large Language Models to Generate JUnit Tests: An Empirical Study" accepted at EASE 2024.

Mar 7, 2024. | By: Mohammed Latif Siddiq

Our paper, Using Large Language Models to Generate JUnit Tests: An Empirical Study, got accepted for the 28th International Conference on Evaluation and Assessment in Software Engineering (EASE 2024) in the research track. In this work, we analyzed three models with different prompting techniques to generate JUnit tests for the HumanEval dataset and real-world software. We evaluated the LLMs’ generated tests using compilation rates, test correctness, test coverage, and test smell. We found that though the models have higher coverage for small programming problems from the HumanEval dataset, they lack good coverage for real-world software from the Evosuite dataset.

Infographic

Related Links

BibTeX

@inproceedings{siddiq2024junit,
  author={Siddiq, Mohammed Latif and Santos, Joanna C. S. and Tanvir, Ridwanul Hasan and Ulfat, Noshin and Rifat, Fahmid Al and Lopes, Vinicius Carvalho},
  booktitle={28th International Conference on Evaluation and Assessment in Software Engineering (EASE 2024)}, 
  title={Using Large Language Models to Generate JUnit Tests: An Empirical Study}, 
  year={2024},
}

About

Security and Software Engineering Lab at University of Notre Dame, Notre Dame, IN USA 46556

twitter github

Where We Are

University of Notre Dame
College of Engineering
382 Fitzpatrick Hall
Notre Dame, IN 46556