Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestHarness ¶
type TestHarness struct {
// contains filtered or unexported fields
}
TestHarness provides utilities for ADK integration testing
func (*TestHarness) GetAgentState ¶
func (h *TestHarness) GetAgentState(id string) (string, error)
GetAgentState returns the current state of an agent
func (*TestHarness) SendLifecycleAction ¶
func (h *TestHarness) SendLifecycleAction(id, action string) error
SendLifecycleAction sends a lifecycle action to an agent
func (*TestHarness) WaitForState ¶
func (h *TestHarness) WaitForState(id, expectedState string, timeout time.Duration) error
WaitForState waits for an agent to reach a specific state
Directories
¶
| Path | Synopsis |
|---|---|
|
fixtures
|
|
|
go
command
|
|
|
go/capabilities_agent
command
Capabilities agent with capability detection
|
Capabilities agent with capability detection |
|
go/hash_agent
command
Hash agent for testing schema hashing
|
Hash agent for testing schema hashing |
|
go/lifecycle_agent
command
Lifecycle agent demonstrating full lifecycle support
|
Lifecycle agent demonstrating full lifecycle support |
|
go/simple_service
command
Simple service agent for cross-ADK testing
|
Simple service agent for cross-ADK testing |
Click to show internal directories.
Click to hide internal directories.