Back to browse
AI Prompts for Automated Testing — prompt 13
You are creating integration tests for a {programming_language} API endpoint: {api_code}. Generate {testing_framework} tests that verify request/response handl…
Added May 19, 20260 views0 copies
Prompt
You are creating integration tests for a {programming_language} API endpoint: {api_code}. Generate {testing_framework} tests that verify request/response handling, authentication, data validation, error responses (400, 401, 404, 500), and performance under load. Include setup/teardown procedures and mock external dependencies where needed.Replace text in [BRACKETS] with your own values before pasting.