Testing Strategy Skill for ChatGPT: Allocate Unit, Integration and End-to-end Coverage
Analyze component boundaries and product behavior to choose test levels. Cover critical paths, input boundaries, and contract failures with a reviewable plan.
中文Install in ChatGPT
Requires a ChatGPT workspace where you can create skills. This is a text adaptation of the pinned GitHub source.
- Review the inputs and outputs in the pinned engineering/skills/testing-strategy/SKILL.md.
- In ChatGPT, open Plugins, Skills, Create, and Create with editor.
- Write the skill rules using the workflow described here. Provide component boundaries, business rules, existing tests, and important failure scenarios.
- Save the skill and check the fictional example in a new chat.
Example task
A fictional booking app adds rescheduling. Logic computes the allowed time window, HTTP returns failure reasons, and the user must complete a real reschedule. Draft a strategy.What to check
Use unit checks for the boundary, integration or contract checks for responses, and one end-to-end critical path. Include repeated requests and failure feedback.
Original SKILL.md on GitHub · Updated
Frequently asked question
Does every validation need end-to-end coverage?
Keep numerous boundary cases at an appropriate fast layer. Reserve end-to-end coverage for critical journeys and cross-layer failures.