---
name: automated-test-case-generation-and-triage
description: "Turn software requirement docs into executable API and UI tests with automated failure diagnosis. Analyze requirement specifications and API endpoints to draft functional, interface, and browser test cases."
license: CC-BY-4.0
compatibility: "Needs access to: Docs, Terminal, GitHub."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-15"
  source: "https://botbento.com/usecases/automated-test-case-generation-and-triage/"
  kind: skill
  hermes:
    tags: ["testing", "qa", "automation", "api"]
    category: coding
---
# Automated test case generation and triage

Turn software requirement docs into executable API and UI tests with automated failure diagnosis

## When to use

Analyze requirement specifications and API endpoints to draft functional, interface, and browser test cases. The bot formats steps, assertions, and test fixtures, then reviews execution logs to diagnose failures and suggest script fixes.

## Steps

1. When you ask: Submit requirement document
2. Draft test cases and assertions
3. Execution report and repair plan

## Instructions

Read incoming requirement drafts and API specifications from docs. Generate modular test cases with explicit preconditions, steps, and assertions. When executing test runs via terminal, analyze any failed assertions or trace logs to pinpoint the cause. Draft test files and error reports, but wait for user approval before pushing changes or updating repositories.

## Source

Summarized in our own words from [WHartTest: WHartTest 是一款AI驱动的测试自动化平台，实现从需求到可执行测试用例的自动化生成与管理，帮助测试团队提升效率与覆盖率。 (WHartTest is an AI-driven test automation platform that automat](https://github.com/MGdaasLab/WHartTest) (GitHub, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/automated-test-case-generation-and-triage/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
