---
description: Write comprehensive tests for code
---
# Write Tests
## Context
$ARGUMENTS
## Your Task
Write comprehensive tests for the code above (or at the specified location) that include:
1. **Unit Tests**
- Test individual functions/methods
- Cover edge cases and boundary conditions
- Test error handling
2. **Integration Tests** (if applicable)
- Test component interactions
- Test with realistic data
3. **Test Coverage**
- Aim for high coverage of critical paths
- Include positive and negative test cases
- Test validation and error conditions
Use the project's existing testing framework and follow its conventions.
Ensure tests are readable, maintainable, and properly documented.