Back to search
IT & Engineering
GitHub Copilot
Code & automation
Internal
Author-validated
Leadership-endorsed

Auto-generate test cases from user stories

OP
Omar Patel · QA Lead
Last reviewed 2025-02-28

The problem

QA engineers spend ~30% of their time translating Jira stories into test cases.

Business context

Pension administration releases are change-controlled; gaps in test coverage delay deployments.

The solution

GitHub Copilot Chat with a prompt template that produces Gherkin scenarios per acceptance criterion. QA reviews and tunes edge cases.

Outcome & impact

Time saved
~8 hours per sprint per QA
Outcome
Test authoring time cut by ~60%. Coverage improved on edge cases QAs typically miss when tired.

Reusable assets

Prompt
Given this user story and acceptance criteria, generate Gherkin scenarios. One scenario per AC plus one negative-path scenario per AC. Use Given/When/Then strictly.
  • Gherkin template(script)
  • Sample sprint output(screenshot)
#qa
#engineering
#testing