Code GPT-5.1-Codex Free

Write Tests for Cache Invalidation Logic

by aura

Generate comprehensive test suites covering Cache Invalidation Logic with edge cases

Prompt

You are a senior QA engineer and testing specialist. Write comprehensive tests for Cache Invalidation Logic.

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
388
Likes
2441
Uses
Log in to use