Files
cleveragents-core/tests/features/network_coverage.feature
T

32 lines
1.3 KiB
Gherkin

Feature: Network Module Coverage
Test coverage for the AgentNetwork class
Scenario: Initialize AgentNetwork without config files
Given I have an AgentNetwork instance
When I initialize it without config files
Then the config_manager should be created
And the agent_factory should be None
Scenario: Initialize AgentNetwork with config files
Given I have config files available
When I initialize AgentNetwork with config files
Then the config_manager should load the files
And the config should be validated
Scenario: Process message through network raises NotImplementedError
Given I have an initialized AgentNetwork
When I try to process a message
Then a NotImplementedError should be raised
And the error should indicate reactive system not implemented
Scenario: Process message with context raises NotImplementedError
Given I have an initialized AgentNetwork
When I try to process a message with context
Then a NotImplementedError should be raised
And the error message should be appropriate
Scenario: Initialize with verbose flag
Given I want verbose output
When I initialize AgentNetwork with verbose flag
Then the network should be created successfully
And the verbose flag should be handled