Repository navigation
test(cli): split each tool profile's tests by feature - #1090
Merged
Merged
Conversation
One file per feature under profiles/<tool>/, the profile's own declarations in profile.unit.test.ts. Same test titles and counts per host as the monolithic files.
blafourcade
approved these changes
Oct 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎯 What & why
Split each tool profile's unit tests into one file per feature, out of the sub-agents PR (#1027) so its diff shows only agent changes.
🛠️ How it works
profiles/<tool>.unit.test.tsbecomesprofiles/<tool>/<feature>.unit.test.ts(agents,skills,rules,commands,mcp,hooks,plugins,settings,content), with the profile's own declarations inprofile.unit.test.ts. No assertion changes: same test titles and counts per host as onnext. The convention is recorded in cli/aidd_docs/memory/testing.md.🧪 How to verify
cd cli && pnpm exec vitest run --project unit tests/contexts/tools/domain/profilespasses.grep -c 'it('over the old file onnextequals the sum over the new folder (claude 33, codex 64, copilot 79, cursor 30, opencode 48, vscode 6).Merge before #1027; #1027 then picks up the split by merging
next.✅ I certify