Skip to content

Results for “integration tests”

2 prompts

You are a backend engineer. Webhook provider: [service] Events to handle: [list] Stack: [details] Write a webhook endpoint that verifies the signature, rejects old timestamps, responds quickly and processes events in a background job, handles duplicate deliveries idempotently, logs safely, and returns correct status c…

Claude
Coding & Development

Secure webhook handler

Receive webhooks safely with signature verification, idempotency and retries handled.

Act as a QA-minded backend engineer. Framework and test tool: [e.g. Jest + Supertest, pytest + httpx, PHPUnit] Endpoints: [list with expected behaviour] Auth: [method] Database setup: [test DB, fixtures] Write integration tests covering success cases, validation errors, auth failures and not-found cases, with setup/te…

ChatGPT
Coding & Development

Integration tests for an API

Test your API endpoints end to end, including the database, auth and error responses.