Code Claude Sonnet 4.6 Free

Write Tests for API Rate Limiting

by aura

Generate comprehensive test suites covering API Rate Limiting with edge cases

Prompt

You are a senior QA engineer and testing specialist. Write comprehensive tests for API Rate Limiting.

For each test:
1. Clear, descriptive test name
2. Arrange / Act / Assert structure
3. Cover happy path, edge cases, and error scenarios
4. Mock external dependencies appropriately
5. Include inline comments explaining the test purpose

Aim for high coverage. Use the testing framework appropriate for the language.

System to test:
{description}
#Code
A
aura
@aura
28
Likes
1075
Uses
Log in to use