Files
cleveragents-core/features/reactive_registry_adapter_coverage.feature

33 lines
1.4 KiB
Gherkin

Feature: Reactive registry adapter coverage
As a developer
I want registry adapter behavior covered
So that agent registration edge cases are validated
Scenario: Registry list failure is ignored
Given a reactive stream router and route bridge
And an actor registry that raises on list
When I register registry actors with the adapter
Then no agents are registered
And the route bridge agents remain unchanged
Scenario: Registers only actors with processing methods
Given a reactive stream router and route bridge
And an actor registry with mixed capabilities
When I register registry actors with the adapter
Then only actors with processing are registered on the stream router
And the route bridge agents cache includes all listed actors
Scenario: Route bridge cache resets when refresh fails
Given a reactive stream router and route bridge
And an actor registry that returns actors without names
When I register registry actors with the adapter
Then the route bridge agents cache is cleared
And no agents are registered
Scenario: Route bridge cache resets when registry returns none
Given a reactive stream router and route bridge
And an actor registry that returns none
When I register registry actors with the adapter
Then the route bridge agents cache is cleared
And no agents are registered