Institutional Repository of Vilnius University
Iteracinis testų generavimo patikimumo užtikrinimo metodas /
Abstract
dc:descriptionThis thesis examines the reliability problem of unit test generation. Automatically generated tests can execute successfully and achieve high code coverage, but still fail to detect changes in program behavior. For this reason, the thesis proposes an iterative method for test generation reliability assurance based on mutation testing feedback. The main idea of the method is to use surviving mutants as concrete test generation targets. For each mutant, priority features are calculated: mutation operator, cyclomatic complexity of the function, function fan-in, and the number of tests covering the mutant. Based on these features, a prioritized set of mutants is created, and a large language model receives the target mutant information and generates a test artifact change. The method was implemented as a prototype and evaluated in two experiments. In the first experiment, the method was applied to an initial test suite written by programmers, and the mutation score increased from 63.69% to 90.48%. In the second experiment, the test suite was created from an empty state and reached a mutation score of 93.71%. The experiments showed that mutation testing feedback can be used for large language model based test generation. However, accepting the final change requires checking not only whether the test suite executes successfully and the target mutant is killed, but also the overall mutation testing result of the test suite to prevent regressions in the test suite.
Degree
thesis:*- Grantor dc:publisher
- Institutional Repository of Vilnius University
- Year dc:date
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Kurlinskas, Astijus,
Rights
dc:rights- Statement dc:rights
-
- info:eu-repo/semantics/openAccess
- Language dc:language
- lit
Identifiers
dc:identifier.*- Repository record dc:identifier
- https://repository.vu.lt/VU:ELABAETD308337681&prefLang=en_US