On the Effectiveness of LLMs for Manual Test Verifications
Not on the map. Why?
Abstract (arXiv)
Background: Manual testing is vital for detecting issues missed by automated tests, but specifying accurate verifications is challenging. Aims: This study aims to explore the use of Large Language Models (LLMs) to produce verifications for manual tests. Method: We conducted two independent and complementary exploratory studies. The first study involved using 2 closed-source and 6 open-source LLMs to generate verifications for manual test steps and evaluate their similarity to original verifications. The second study involved recruiting software testing professionals to assess their perception and agreement with the generated verifications compared to the original ones. Results: The open-source models Mistral-7B and Phi-3-mini-4k demonstrated effectiveness and consistency comparable to closed-source models like Gemini-1.5-flash and GPT-3.5-turbo in generating manual test verifications. However, the agreement level among professional testers was slightly above 40%, indicating both promise and room for improvement. While some LLM-generated verifications were considered better than the originals, there were also concerns about AI hallucinations, where verifications significantly deviated from expectations. Conclusion: We contributed by generating a dataset of 37,040 test verifications using 8 different LLMs. Although the models show potential, the relatively modest 40% agreement level highlights the need for further refinement. Enhancing the accuracy, relevance, and clarity of the generated verifications is crucial to ensure greater reliability in real-world testing scenarios.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 8 of its 15 references that are in the map. First posted on arXiv 19 Sep 2024.
Builds on
8 of 15 references.
References · 8
- 2017Attention Is All You Needcited by 60,361
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2023Software Testing with Large Language Models: Survey, Landscape, and Visioncited by 166
- 2023No More Manual Tests? Evaluating and Improving ChatGPT for Unit Test Generationcited by 82
- 2023Using Large Language Models to Generate JUnit Tests: An Empirical Studycited by 53
- 2024A Catalog of Transformations to Remove Smells From Natural Language Testscited by 3
- 2023Manual Tests Do Smell! Cataloging and Identifying Natural Language Test Smellscited by 2
- 2022NALABS: Detecting Bad Smells in Natural Language Requirements and Test Specificationscited by 1
Built on by
Citing papers per year: 2025: 1.
1 paper.