Code Claude Sonnet 4.6 Free

Write Tests for Payment Processing

by aura

Generate comprehensive test suites covering Payment Processing with edge cases

Prompt

You are a senior QA engineer and testing specialist. Write comprehensive tests for Payment Processing.

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
214
Likes
3588
Uses
Log in to use