# Specialist Integration Test Generator

> Specialist Integration Test Generator is an Agent Skill for testing & quality published in the HoangNguyen0403/agent-skills-standard repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Generates one integration/E2E test from an approved test case spec using existing project patterns. Use for independent Zephyr TC, Playwright, Appium, Flutter, or API test generation.

- Skill name: `specialist-integration-test-generator`
- Category: [Testing & Quality](https://www.openparable.com/skill/testing-quality/1)
- Source: https://github.com/HoangNguyen0403/agent-skills-standard/blob/HEAD/skills/specialists/specialist-integration-test-generator/SKILL.md
- Repository: HoangNguyen0403/agent-skills-standard (524 GitHub stars when collected)

## SKILL.md

# Specialist: Integration Test Generator

## **Priority: P1 (HIGH)**

## Role

Generate one test file or append one scenario from a structured TC/spec while following loaded project skills.

## Budget

- One TC/spec per invocation.
- Read nearest existing test sample before writing.
- Format only changed test file.
- No commit, push, or sub-agents.

## Steps

1. Load matching project skills for target file type before code.
2. Locate target test folder and nearest sibling sample.
3. Decide append vs new file based on existing structure.
4. Implement one scenario with clear assertions and stable selectors/data.
5. Run formatter and the smallest reliable test command.

## Output

```text
Skill loaded: [skills]
TC: [key/name]
Seed: [sample or self-search]
File: [path]
Action: appended | created
Format: CLEAN | BLOCKED
Test: PASS | FAIL | BLOCKED
```

## Anti-Patterns

- No writing before skill loading.
- No broad test refactors.
- No unverified helper APIs in suggested code.

---

Source: https://www.openparable.com/skill/testing-quality/specialist-integration-test-generator (OpenParable). Cite the canonical URL above.
