Files
cleveragents-core/tests/features/agent_modules_coverage.feature

72 lines
2.5 KiB
Gherkin

Feature: Agent Modules Coverage
As a developer
I want to test all agent module functionality
So that coverage includes agent implementations and utilities
Background:
Given the agent system is initialized
And I have agent test configurations
Scenario: Agent module basic functionality
When I import the agent module
Then the agent module should be accessible
And agent creation should work
Scenario: Agent decorators functionality
When I import the decorators module
Then decorators should be available
And decorator functions should work
Scenario: Agent states management
When I import the states module
Then state management should be available
And state transitions should work
Scenario: Agent factory functionality
Given I have agent factory configurations
When I use the agent factory
Then agents should be created correctly
And factory patterns should work
Scenario: Chain agent functionality
Given I have chain agent configurations
When I create chain agents
Then agents should be chained correctly
And message passing should work
Scenario: Composite agent functionality
Given I have composite agent configurations
When I create composite agents
Then agent composition should work
And parallel processing should work
Scenario: LLM agent functionality
Given I have LLM agent configurations
When I create LLM agents
Then LLM integration should work
And model communication should work
Scenario: Tool agent functionality
Given I have tool agent configurations
When I create tool agents
Then tool execution should work
And tool chaining should work
Scenario: Network module functionality
When I import the network module
Then network functionality should be available
And agent communication should work
Scenario: Agent factory comprehensive testing
Given the agent system is initialized
And I have comprehensive agent factory configurations
When I test agent factory edge cases
Then factory should handle composite agent invalid components
And factory should handle legacy agent missing from cache
And factory should handle agent configuration without config section
Scenario: Agent factory detailed coverage testing
Given the agent system is initialized
And I have detailed factory configurations for comprehensive testing
When I perform comprehensive factory testing scenarios
Then comprehensive factory functionality should work correctly