generate_tests_excel
Generate API test plans with positive, negative, and boundary cases, then export test cases to an Excel (.xlsx) file for easy review and sharing.
Instructions
Generate a comprehensive API test plan with positive, negative, and boundary value analysis test cases and export to Excel (.xlsx). You (Cursor IDE model) can generate test cases directly into the testCases array argument, or pass endpoint, method, and payload to generate via external LLM if configured.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | HTTP method (GET, POST, PUT, DELETE, etc.) | |
| payload | No | Sample payload for the request (if applicable) | |
| endpoint | Yes | API endpoint to test (e.g., https://api.example.com/v1/users) | |
| testCases | No | Direct list of test cases generated by Cursor IDE's AI model. Bypasses external LLM API if provided. | |
| extraContext | No | Any additional instructions/context for the test plan |