Add comprehensive test coverage for HTTP/SSE server and docs tools
- HTTP/SSE server: Add tests for app initialization and session management - Docs tools: Add tests for cache functionality, error handling, and network errors - Make components more testable by exposing necessary fields - Add mockito for HTTP testing support - Improve robust error handling in network tests - Add Tower util feature for ServiceExt support
This commit is contained in:
parent
2ab71b7667
commit
85b4116262
6 changed files with 404 additions and 40 deletions
|
@ -43,8 +43,8 @@ impl DocCache {
|
|||
|
||||
#[derive(Clone)]
|
||||
pub struct DocRouter {
|
||||
client: Client,
|
||||
cache: DocCache,
|
||||
pub client: Client,
|
||||
pub cache: DocCache,
|
||||
}
|
||||
|
||||
impl Default for DocRouter {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue