Files
cleveragents-core/features/plan_commands_uncovered_branches.feature

26 lines
1.2 KiB
Gherkin

Feature: Plan command uncovered branches
As a developer
I want to cover the remaining plan CLI branches
So that plan.py reaches full branch coverage
Scenario: Streaming end event completes without node timing
Given I have a temporary test directory
And I have a stub streaming project
When I run the streaming plan helper with only an end event
Then the streaming helper should complete successfully
And the streaming output should mention plan creation success
Scenario: Streaming error before nodes shows friendly error
Given I have a temporary test directory
And I have a stub streaming project
When I run the streaming plan helper with a pre-node exception
Then the streaming helper should fail with an error
And the streaming output should show an error without node failure details
Scenario: Tell command skips actor registry when testing mode is disabled
Given I have a temporary test directory
And I have a plan test project initialized
When I execute plan tell with testing mode disabled and no actor registry
Then the plan tell should execute successfully
And the mock actor should not be initialized