forked from cleveragents/cleveragents-core
35 lines
1.5 KiB
Gherkin
35 lines
1.5 KiB
Gherkin
Feature: Interactive Session Hello World Test
|
|
As a developer
|
|
I want to test basic interactive session functionality
|
|
So that I can ensure the interactive mode works correctly
|
|
|
|
Scenario: Hello World Interactive Session Test
|
|
Given the CleverAgents reactive system is available
|
|
And I have a basic interactive configuration
|
|
When I start an interactive session for testing
|
|
And I send "hello" to the interactive session
|
|
Then I should receive an interactive response
|
|
And the session should handle the greeting properly
|
|
When I send exit to the interactive session for testing
|
|
Then the session should terminate successfully
|
|
|
|
Scenario: Interactive help command display
|
|
Given an application with simple config
|
|
When printing help in interactive mode
|
|
Then help output contains "Available commands"
|
|
And help output contains "exit"
|
|
|
|
Scenario: Handle stream command for nonexistent stream
|
|
Given an application with simple config
|
|
When handling stream command for "nonexistent_stream"
|
|
Then command output contains "not found"
|
|
|
|
Scenario: Handle stream command for existing stream
|
|
Given an application with stream "test_stream"
|
|
When handling stream command for "test_stream" with message "hello"
|
|
Then message is sent to stream successfully
|
|
|
|
Scenario: Handle graph command with no graph found
|
|
Given an application with no graphs
|
|
When handling graph command for "missing_graph"
|
|
Then command output indicates graph not found |