---
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.
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sylphxltd/pdf-reader-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server