# Test scenarios — prompt for ChatGPT

Derive test cases from function rules: normal inputs, boundaries, invalid data and ambiguities.

Canonical URL: https://boswidget.ru/en/test-scenarios-prompt-for-chatgpt/

Model: ChatGPT

Category: Code

Tags: tests, boundaries, specification

![Test scenarios](https://boswidget.ru/assets/images/text-preview-chatgpt-unit-test-cases-1200.160a8151e8a0.webp)

Test scenarios

## Prompt

Create test scenarios from this specification: {spec}. Known constraints: {limits}. Return a table: case | input | expected result | rule checked. Cover the normal path, boundaries, empty values, invalid types and repeated calls where applicable. Do not invent expected behavior when the specification has a gap; turn that case into a question. Remove duplicate checks and explain which errors each remaining test could detect.

## Template fields

- `{spec}` — Specification. Example input: Function purpose, inputs, outputs and rules
- `{limits}` — Constraints. Example input: Permitted values, action sequence and special cases

## Launch

[Open ChatGPT in YesAI](https://yesai.su/en/chatgpt)
