diff --git a/docs/development/testing.md b/docs/development/testing.md index 8aa3cc83..9500e259 100644 --- a/docs/development/testing.md +++ b/docs/development/testing.md @@ -1479,7 +1479,7 @@ The M6 acceptance suite validates the autonomy hardening layer: ### Behave Suite: `features/m6_autonomy_acceptance.feature` - **Fixture loading** — 3 scenarios verifying JSON structure -- **A2A facade dispatch** — 10 scenarios covering all 11 operations +- **A2A facade dispatch** — 10 scenarios covering all 42 operations - **A2A error handling** — 2 scenarios (unknown operation, invalid request type) - **Service registration** — 2 scenarios (register + list operations) - **Event queue** — 5 scenarios (publish, subscribe, unsubscribe, close, remote reject) diff --git a/features/a2a_cli_facade_integration.feature b/features/a2a_cli_facade_integration.feature index 769b5488..8e11c09c 100644 --- a/features/a2a_cli_facade_integration.feature +++ b/features/a2a_cli_facade_integration.feature @@ -6,7 +6,7 @@ Feature: A2A CLI facade integration Scenario: CLI bootstrap creates a wired facade Given a facade created via the CLI bootstrap - Then the facade should support all 11 operations + Then the facade should support all 42 operations And the facade should be cached on subsequent calls Scenario: Session create routes through facade diff --git a/features/steps/a2a_cli_facade_integration_steps.py b/features/steps/a2a_cli_facade_integration_steps.py index 5fb0df97..37a3008f 100644 --- a/features/steps/a2a_cli_facade_integration_steps.py +++ b/features/steps/a2a_cli_facade_integration_steps.py @@ -121,10 +121,10 @@ def step_call_notify_facade(context: Any, operation: str) -> None: # --------------------------------------------------------------------------- -@then("the facade should support all 11 operations") -def step_check_11_operations(context: Any) -> None: +@then("the facade should support all 42 operations") +def step_check_42_operations(context: Any) -> None: ops = context.facade.list_operations() - assert len(ops) == 11, f"Expected 11 operations, got {len(ops)}: {ops}" + assert len(ops) == 42, f"Expected 42 operations, got {len(ops)}: {ops}" @then("the facade should be cached on subsequent calls")