69 lines
2.6 KiB
Gherkin
69 lines
2.6 KiB
Gherkin
Feature: Direct Application Coverage
|
|
As a test suite
|
|
I want to execute specific application code paths
|
|
So that we achieve 90%+ coverage on application.py
|
|
|
|
Scenario: Direct prompt template processing
|
|
Given I have a reactive app with prompts configuration
|
|
When the application processes prompt templates
|
|
Then the prompt template code paths should be executed
|
|
|
|
Scenario: Direct single-shot with message content
|
|
Given I have a reactive app with working configuration
|
|
When I run single-shot with message handling
|
|
Then the single-shot message processing should work
|
|
|
|
Scenario: Direct interactive session setup
|
|
Given I have a reactive app for interactive testing
|
|
When I set up interactive session components
|
|
Then the interactive setup code should execute
|
|
|
|
Scenario: Direct application disposal
|
|
Given I have a running reactive application for disposal
|
|
When I call dispose method directly
|
|
Then the disposal code should execute
|
|
|
|
Scenario: Direct visualization generation
|
|
Given I have a reactive app with routes and agents
|
|
When I call visualize_network directly
|
|
Then the visualization code should execute
|
|
|
|
Scenario: Direct configuration conversion
|
|
Given I have a reactive app configuration
|
|
When I call _config_to_dict method
|
|
Then the config conversion code should execute
|
|
|
|
Scenario: Direct template registration
|
|
Given I have a reactive app with templates
|
|
When I call _register_templates method
|
|
Then the template registration code should execute
|
|
|
|
Scenario: Direct agent creation paths
|
|
Given I have agent configurations
|
|
When I call _create_agents method
|
|
Then the agent creation code should execute
|
|
|
|
Scenario: Direct route setup
|
|
Given I have route configurations
|
|
When I call _setup_routes method
|
|
Then the route setup code should execute
|
|
|
|
Scenario: Direct stream operations
|
|
Given I have merge and split configurations
|
|
When I call _setup_stream_operations method
|
|
Then the stream operations code should execute
|
|
|
|
Scenario: Direct interactive session full workflow
|
|
Given I have a reactive app with working configuration
|
|
When I simulate interactive session startup
|
|
Then the interactive session code paths should execute
|
|
|
|
Scenario: Direct timeout and error handling
|
|
Given I have a reactive app with working configuration
|
|
When I trigger timeout and error scenarios
|
|
Then the error handling code paths should execute
|
|
|
|
Scenario: Direct complex template processing
|
|
Given I have a reactive app with complex prompts
|
|
When I process complex prompt templates directly
|
|
Then the complex prompt processing should execute |