refactor(a2a): Update all test files for ACP→A2A rename #689

Closed
opened 2026-03-11 18:11:47 +00:00 by freemo · 0 comments
Owner

Background and Context

Companion to the ACP→A2A source code rename issue. Once the source module is renamed from cleveragents.acp to cleveragents.a2a, all test files that reference ACP must be updated.

Scope

Category Files Approx. References
Behave feature files 6 ~242
Step definition files 8 ~205
Robot test files 4 ~41
Robot helper files 4 ~150
JSON fixtures 1 ~2
Config (mkdocs.yml) 1 ~2

Files to rename (filename contains "acp")

  • features/acp_facade_wiring.featurefeatures/a2a_facade_wiring.feature
  • features/acp_facade_coverage_boost.featurefeatures/a2a_facade_coverage_boost.feature
  • features/acp_clients_coverage_boost.featurefeatures/a2a_clients_coverage_boost.feature
  • features/steps/acp_facade_steps.pyfeatures/steps/a2a_facade_steps.py
  • features/steps/acp_facade_wiring_steps.pyfeatures/steps/a2a_facade_wiring_steps.py
  • features/steps/acp_facade_coverage_boost_steps.pyfeatures/steps/a2a_facade_coverage_boost_steps.py
  • features/steps/acp_clients_coverage_boost_steps.pyfeatures/steps/a2a_clients_coverage_boost_steps.py
  • features/fixtures/m6/acp_facade_flows.jsonfeatures/fixtures/m6/a2a_facade_flows.json
  • robot/acp_facade.robotrobot/a2a_facade.robot
  • robot/acp_facade_wiring.robotrobot/a2a_facade_wiring.robot
  • robot/helper_acp_facade.pyrobot/helper_a2a_facade.py
  • robot/helper_acp_facade_wiring.pyrobot/helper_a2a_facade_wiring.py
  • benchmarks/acp_facade_bench.pybenchmarks/a2a_facade_bench.py

Acceptance Criteria

  • All 13+ test files renamed
  • All ACP references in test content updated to A2A
  • All imports updated (from cleveragents.acp.*from cleveragents.a2a.*)
  • Gherkin scenario names updated
  • Robot test names updated
  • JSON fixture content updated
  • Full test suite passes
  • ruff check and ruff format pass

Metadata

  • Commit message: refactor(a2a): update test files for ACP to A2A rename
  • Branch name: refactor/m7-acp-to-a2a-tests

Definition of Done

  • Zero references to "acp" remain in test files (except comments noting the rename)
  • All 370 feature + 235 robot tests pass
  • All linting passes
## Background and Context Companion to the ACP→A2A source code rename issue. Once the source module is renamed from `cleveragents.acp` to `cleveragents.a2a`, all test files that reference ACP must be updated. ### Scope | Category | Files | Approx. References | |---|---|---| | Behave feature files | 6 | ~242 | | Step definition files | 8 | ~205 | | Robot test files | 4 | ~41 | | Robot helper files | 4 | ~150 | | JSON fixtures | 1 | ~2 | | Config (mkdocs.yml) | 1 | ~2 | ### Files to rename (filename contains "acp") - `features/acp_facade_wiring.feature` → `features/a2a_facade_wiring.feature` - `features/acp_facade_coverage_boost.feature` → `features/a2a_facade_coverage_boost.feature` - `features/acp_clients_coverage_boost.feature` → `features/a2a_clients_coverage_boost.feature` - `features/steps/acp_facade_steps.py` → `features/steps/a2a_facade_steps.py` - `features/steps/acp_facade_wiring_steps.py` → `features/steps/a2a_facade_wiring_steps.py` - `features/steps/acp_facade_coverage_boost_steps.py` → `features/steps/a2a_facade_coverage_boost_steps.py` - `features/steps/acp_clients_coverage_boost_steps.py` → `features/steps/a2a_clients_coverage_boost_steps.py` - `features/fixtures/m6/acp_facade_flows.json` → `features/fixtures/m6/a2a_facade_flows.json` - `robot/acp_facade.robot` → `robot/a2a_facade.robot` - `robot/acp_facade_wiring.robot` → `robot/a2a_facade_wiring.robot` - `robot/helper_acp_facade.py` → `robot/helper_a2a_facade.py` - `robot/helper_acp_facade_wiring.py` → `robot/helper_a2a_facade_wiring.py` - `benchmarks/acp_facade_bench.py` → `benchmarks/a2a_facade_bench.py` ## Acceptance Criteria - [ ] All 13+ test files renamed - [ ] All ACP references in test content updated to A2A - [ ] All imports updated (`from cleveragents.acp.*` → `from cleveragents.a2a.*`) - [ ] Gherkin scenario names updated - [ ] Robot test names updated - [ ] JSON fixture content updated - [ ] Full test suite passes - [ ] `ruff check` and `ruff format` pass ## Metadata - **Commit message**: `refactor(a2a): update test files for ACP to A2A rename` - **Branch name**: `refactor/m7-acp-to-a2a-tests` ## Definition of Done - Zero references to "acp" remain in test files (except comments noting the rename) - All 370 feature + 235 robot tests pass - All linting passes
hamza.khyari was assigned by freemo 2026-03-11 18:13:20 +00:00
freemo added this to the v3.6.0 milestone 2026-03-11 18:13:20 +00:00
freemo added the
Points
13
Priority
Medium
State
Unverified
Type
Task
labels 2026-03-11 18:13:55 +00:00
freemo added a new dependency 2026-03-11 18:31:02 +00:00
freemo added the
MoSCoW
Must have
label 2026-03-11 20:21:44 +00:00
freemo added
State
Verified
and removed
State
Unverified
labels 2026-03-11 20:26:00 +00:00
hamza.khyari added
State
In Progress
and removed
State
Verified
labels 2026-03-12 12:00:54 +00:00
hamza.khyari added
State
In Review
and removed
State
In Progress
labels 2026-03-13 14:27:49 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: cleveragents/cleveragents-core#689