First Experiments on Automated Execution of Gherkin Test Specifications with Collaborating LLM Agents
Gherkin is a domain-specific language for describing test scenarios in natural language, which are the basis for automated acceptance testing. The emergence of Large Language Models (LLMs) has opened up new possibilities for processing such test specifications and for generating executable test code. This paper investigates the feasibility of employing LLMs to execute Gherkin test specifications utilizing the AutoGen multi-agent framework. Our findings show that our LLM agent system is able to automatically run the given test scenarios by autonomously exploring the system under test, generating executable test code on the fly, and evaluating execution results. We observed high success rates for executing simple as well as more complex test scenarios, but we also identified difficulties regarding failure scenarios and fault detection.
Authors
- Rudolf Ramler (ORCID: https://orcid.org/0000-0001-9903-6107)
- Stefan Fischer (ORCID: https://orcid.org/0000-0002-4715-3384)
- Severin Bergsmann
- Alexander Schmidt
Institutions
- Software Competence Center Hagenberg (Austria) (AT)
Publication Details
- Published
- 2024-09-12
- DOI
- https://doi.org/10.1145/3678719.3685692
- Citations
- 3
- Primary Topic
- Software Testing and Debugging Techniques
- Type
- article
- Field-Weighted Citation Impact
- 1.46