test(runtime): add BDD coverage tests for runtime Executor API #34

Merged
CoreRasurae merged 1 commits from test/m1-coverage-increase into master 2026-06-05 23:05:07 +00:00

1 Commits

Author SHA1 Message Date
CoreRasurae ab17407576 test(runtime): add BDD coverage tests for runtime Executor API
CI / lint (pull_request) Successful in 40s
CI / typecheck (pull_request) Successful in 58s
CI / security (pull_request) Successful in 1m8s
CI / quality (pull_request) Successful in 1m7s
CI / integration_tests (pull_request) Successful in 1m20s
CI / build (pull_request) Successful in 39s
CI / unit_tests (pull_request) Successful in 3m47s
CI / coverage (pull_request) Successful in 3m44s
CI / status-check (pull_request) Successful in 4s
CI / quality (push) Successful in 39s
CI / lint (push) Successful in 47s
CI / security (push) Successful in 52s
CI / integration_tests (push) Successful in 1m2s
CI / typecheck (push) Successful in 1m5s
CI / build (push) Successful in 1m11s
CI / unit_tests (push) Successful in 4m27s
CI / coverage (push) Successful in 4m28s
CI / status-check (push) Successful in 5s
Add 16 Behave BDD scenarios covering:
- create_executor() factory function and Executor initialization
- Executor.execute() dispatch to LLM, graph, tool, multi-actor agents
- _execute_llm credential injection and error handling
- _execute_graph PureGraphConfig construction
- _execute_tool tool configuration
- _execute_multi_actor routing and error cases
- _build_factory_config credential/limit injection
- _estimate_tokens with tiktoken and fallback heuristic
- NodeUsage and ActorResult dataclasses

ISSUES CLOSED: #33
Refs: #33
2026-06-05 23:55:31 +01:00