mirror of
https://github.com/niels-emmer/myace.git
synced 2026-09-13 23:53:30 +02:00
[GH-ISSUE #89] Add unit tests for amazon_q, continue_dev, and copilot_cli adapters #82
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
github-mirrors/myace#82
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @niels-emmer on GitHub (Aug 13, 2026).
Original GitHub issue: https://github.com/niels-emmer/myace/issues/89
Every other adapter in `backend/app/adapters/` has a dedicated `TestXAdapter` class in `backend/tests/test_adapters.py` (see `TestClaudeCodeAdapter`, `TestCodexCliAdapter`, `TestWindsurfAdapter` for the pattern) — but three shipped adapters currently have zero test coverage:
Task: add a `TestXAdapter` class for each, following the existing pattern — feed a small set of `CanonicalArtifact`s through `translate()` and assert on the returned `{filename: content}` dict (file paths, frontmatter/structure, and any target-specific quirks the adapter handles).
Good first issue: no new abstractions needed, just following an established pattern three times. See `docs/extending.md` for adapter/testing conventions.
@niels-emmer commented on GitHub (Aug 17, 2026):
Checked before starting work on this: `TestAmazonQAdapter`, `TestContinueAdapter`, and `TestCopilotCliAdapter` already exist in `backend/tests/test_adapters.py`, added in #22 (2026-08-09, Copilot CLI) and #74 (2026-08-12, Continue + Amazon Q) — both merged before this issue was filed (2026-08-13). All three cover the pattern this issue asks for (translate() output per artifact type, file paths, frontmatter/structure, target-specific quirks like Amazon Q's no-frontmatter rule files).
Ran the suite to confirm: 50/50 adapter tests pass on `main` as of this comment, including all three classes.
Closing as already resolved — no code change needed.