forked from cleveragents/cleveragents-core
34 lines
1.4 KiB
Gherkin
34 lines
1.4 KiB
Gherkin
Feature: Core Application Functionality
|
|
As a user of CleverAgents
|
|
I want to use the core application
|
|
So that I can process messages through agent networks
|
|
|
|
Scenario: Initialize application without configuration
|
|
Given I create a CleverAgentsApp without configuration
|
|
Then the application should be initialized with default values
|
|
|
|
Scenario: Load configuration from files
|
|
Given I create a CleverAgentsApp without configuration
|
|
When I load configuration from test files
|
|
Then the configuration should be loaded successfully
|
|
|
|
Scenario: Run in single-shot mode
|
|
Given I create a CleverAgentsApp with test configuration
|
|
When I run the application in single-shot mode with prompt "Hello"
|
|
Then I should receive a response from the application
|
|
|
|
Scenario: Start interactive session
|
|
Given I create a CleverAgentsApp with test configuration
|
|
When I start an interactive session with the application
|
|
Then the interactive session should be started
|
|
|
|
Scenario: Handle configuration errors
|
|
Given I create a CleverAgentsApp without configuration
|
|
When I try to run the application without loading configuration
|
|
Then an appropriate error should be raised
|
|
|
|
Scenario: Handle invalid configuration
|
|
Given I create a CleverAgentsApp without configuration
|
|
When I try to load invalid configuration
|
|
Then a configuration error should be raised for the application
|