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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

First Experiments on Automated Execution of Gherkin Test Specifications with Collaborating LLM Agents

Rudolf Ramler, Stefan Fischer, Severin Bergsmann, Alexander Schmidt
3 citations
Software Testing and Debugging Techniques
1.46
article

First Experiments on Automated Execution of Gherkin Test Specifications with Collaborating LLM Agents

Rudolf Ramler, Stefan Fischer, Severin Bergsmann, Alexander Schmidt
article en
3 citations

Abstract

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.

Software Competence Center Hagenberg (Austria) (AT)
Openalex Percentile: Top 15%
Software Testing and Debugging Techniques
1.46
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

First Experiments on Automated Execution of Gherkin Test Specifications with Collaborating LLM Agents — Rudolf Ramler, Stefan Fischer, et al. · (2024) | TGRS Research Map | TGRS