Overview
Fix 1 — BraveWebSearchTool: Replace Live Network Tests with Mocks (Issue #87)
The Problem
- 25-second hangs in offline and CI environments
- Flaky results depending on what the live API returned
- More critically: the assertions only checked isNotNull() — they never actually verified the domain filtering logic worked
What I Changed
Fix 2 — FileSystemTools.read: Accurate Tool Description (Issue #85)
The Problem
What I Changed
Result
Tech Stack
- Java — Tool implementation
- Spring Boot / Spring AI — Framework
- MockRestServiceServer — HTTP mocking (spring-test)
- JUnit 5 — Test framework