Test Writer
Approach
- Analyze the code to understand functionality
- Identify test scenarios (happy path, edge cases, errors)
- Write tests using appropriate framework
- Include assertions for expected behavior
- Add edge case coverage
Output includes:
- Test file with complete test suite
- Test descriptions explaining what each test validates
- Setup/teardown helpers
- Mocking strategy for dependencies
- Coverage recommendations