Files
cleveractors-core/features/route_graph_config_coverage.feature
CoreRasurae 3fc0a3fa57
CI / lint (pull_request) Successful in 35s
CI / quality (pull_request) Successful in 44s
CI / typecheck (pull_request) Successful in 47s
CI / security (pull_request) Successful in 56s
CI / unit_tests (pull_request) Successful in 3m33s
CI / integration_tests (pull_request) Successful in 56s
CI / build (pull_request) Successful in 34s
CI / coverage (pull_request) Successful in 3m34s
CI / status-check (pull_request) Successful in 3s
CI / quality (push) Successful in 49s
CI / lint (push) Successful in 51s
CI / typecheck (push) Successful in 52s
CI / build (push) Successful in 41s
CI / security (push) Successful in 58s
CI / integration_tests (push) Successful in 1m0s
CI / unit_tests (push) Successful in 3m37s
CI / coverage (push) Successful in 3m34s
CI / status-check (push) Successful in 5s
test(coverage): add BDD unit tests to close coverage gap toward 97%
Add comprehensive BDD Behave unit tests across six modules to improve
line coverage. New feature files and step definitions for:

- validation/_actor: graph/llm/tool/multi_actor config validation
- runtime_tokens: token estimation with tiktoken and fallback heuristics
- dynamic_router: ContentBasedCondition, RouterNode, graph extension
- runtime: v2 route format, config blocks, conversation history, multi-actor
- progress: ProgressBarManager remaining count resolution
- route: MESSAGE_ROUTER rules to metadata in to_graph_config

Also fix credential executor and graph cleanup step mocks to return
proper tuple values matching updated runtime signatures.

Refs: #39
2026-06-09 16:06:32 +01:00

13 lines
563 B
Gherkin

Feature: Route Graph Config Conversion Coverage
As a developer
I want RouteConfig to correctly convert MESSAGE_ROUTER node rules to metadata
So that graph configuration conversions preserve routing rule information
Background:
Given the route graph config test context is initialized (rgc)
Scenario: MESSAGE_ROUTER rules added to node metadata during to_graph_config
Given a RouteConfig with MESSAGE_ROUTER node having rules (rgc)
When to_graph_config is called (rgc)
Then the MESSAGE_ROUTER rules should appear in node metadata (rgc)