Contact

For longer notes, email works best.
For quick messages, find me on X.

back

Evaluating the Robustness of LLM-Generated Tests via Mutation Analysis

Master's thesis investigating whether LLMs can generate test suites robust enough to detect bugs using mutation testing as ground truth.

May 13, 2025
ai
Code & testing LLMs · Mutation Testing · Software Testing · Java · Docker
The problem
High coverage can still miss bugs. Does LLM tests' coverage change on buggy code?
What I did
Compared the coverage of 9 LLMs' Java tests on original code and copies with one small bug.
What I found
On the buggy copies, branch coverage was only 1.2 points lower on average, from 90.8%.
The limit
I measured coverage, not test failures, so whether the tests catch bugs is unknown.

Code shared on request

This project is university work, so I can’t post its code publicly. I’m happy to share it, though. Just send me a short email.

Write an email