Skip to content

Conversation

@morler
Copy link

@morler morler commented Sep 25, 2025

Added some test scripts to the project

morler and others added 2 commits September 25, 2025 21:13
- Add unit tests for AnthropicClient covering client creation, API key validation,
  request building, and response conversion
- Add tests for LlmMessage covering role serialization, message constructors,
  multimodal content handling, and tool use detection
- Add tests for TrajectoryRecorder covering entry recording, metadata handling,
  and auto-save functionality
- Fix test code compilation errors by updating to match current API structure
- Improve test coverage for critical modules that previously had no tests

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Replace hardcoded token estimation ranges with relative validation
- Simplify Unicode cursor position tests to focus on key behaviors
- Fix cross-platform compatibility in absolute path tests
- Remove over-testing of implementation details
- Enhance test maintainability and reliability

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant