mlsanityData to 14 Oct 2026

Behaviour Driven Development Scenario Generation with Large Language Models

arXiv 2603.04729 ↗First posted 5 Mar 2026cs.SEcited by 1

Not on the map. Why?

Abstract (arXiv)

This paper presents an evaluation of three LLMs, GPT-4, Claude 3, and Gemini, for automated Behaviour-Driven Development (BDD) scenarios generation. To support this evaluation, we constructed a dataset of 500 user stories, requirement descriptions, and their corresponding BDD scenarios, drawn from four proprietary software products. We assessed the quality of BDD scenarios generated by LLMs using a multidimensional evaluation framework encompassing text and semantic similarity metrics, LLM-based evaluation, and human expert assessment. Our findings reveal that although GPT-4 achieves higher scores in text and semantic similarity metrics, Claude 3 produces scenarios rated highest by both human experts and LLM-based evaluators. LLM-based evaluators, particularly DeepSeek, show a stronger correlation with human judgment than with text similarity and semantic similarity metrics. The effectiveness of prompting techniques is model-specific: GPT-4 performs best with zero-shot, Claude 3 benefits from chain-of-thought reasoning, and Gemini achieves optimal results with few-shot examples. Input quality determines the effectiveness of BDD scenario generation: detailed requirement descriptions alone yield high-quality scenarios, whereas user stories alone yield low-quality scenarios. Our experiments indicate that setting temperature to 0 and top_p to 1.0 produced the highest-quality BDD scenarios across all models.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). First posted on arXiv 5 Mar 2026.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024A Tool for Test Case Scenarios Generation Using Large Language Models
  2. 2025David vs. Goliath: A comparative study of different-sized LLMs for code generation in the domain of automotive scenario generation
  3. 2025CodeVisionary: An Agent-based Framework for Evaluating Large Language Models in Code Generation
  4. 2025LLM-as-a-Judge for Software Engineering: Literature Review, Vision, and the Road Ahead ↗
  5. 2024Elicitron: An LLM Agent-Based Simulation Framework for Design Requirements Elicitation
  6. 2024Generating Test Scenarios from NL Requirements using Retrieval-Augmented LLMs: An Industrial Study
  7. 2026Class Model Generation from Requirements using Large Language Models ↗
  8. 2025Are Prompts All You Need? Evaluating Prompt-Based Large Language Models (LLM)s for Software Requirements Classification