32 lines
1.3 KiB
Gherkin
32 lines
1.3 KiB
Gherkin
Feature: Stream Router remaining uncovered lines
|
|
As a developer
|
|
I want Behave scenarios that target remaining stream_router gaps
|
|
So that additional uncovered branches are exercised
|
|
|
|
Background:
|
|
Given the CleverAgents reactive system is available
|
|
|
|
Scenario: Converting dict route config uses defaults
|
|
When I convert a dict route config with only a name
|
|
Then the stream config should use default values
|
|
|
|
Scenario: Converting object route config uses defaults for missing attrs
|
|
When I convert a minimal object route config
|
|
Then the stream config should use default values
|
|
|
|
Scenario: Transform operator with type parameter applies replace
|
|
When I apply a transform operator with type replace
|
|
Then the transform operator should update the field
|
|
|
|
Scenario: Switch operator emits original message with no matches or defaults
|
|
When I run a switch operator with no matches and no defaults
|
|
Then the switch operator should emit the original message
|
|
|
|
Scenario: Unsupported condition returns false
|
|
When I evaluate an unsupported condition
|
|
Then the unsupported condition result should be false
|
|
|
|
Scenario: Agent mapper falls back when no processing methods exist
|
|
When I map a message with an agent lacking processors
|
|
Then the mapper should return the original content with metadata
|