Skip to content

test: 34 tests for modular resolver pipeline (6 untested modules)#434

Open
HMAKT99 wants to merge 1 commit intogarrytan:mainfrom
HMAKT99:arun/resolver-tests
Open

test: 34 tests for modular resolver pipeline (6 untested modules)#434
HMAKT99 wants to merge 1 commit intogarrytan:mainfrom
HMAKT99:arun/resolver-tests

Conversation

@HMAKT99
Copy link
Contributor

@HMAKT99 HMAKT99 commented Mar 24, 2026

Summary

Coverage

Module Tests What's tested
preamble.ts 7 update check, sessions, AskUserQuestion, contributor mode
testing.ts 5 test bootstrap, coverage audit (3 modes)
utility.ts 6 slug eval/setup, base branch detect, QA methodology
codex-helpers.ts 8 frontmatter parsing, description condensing, host transforms
constants.ts 3 AI slop blacklist, OpenAI rejections, error handling
browse.ts 2 binary detection, setup instructions
cross-module 3 slug consistency, host parity

1 file, 34 tests, 57 assertions

test/resolvers.test.ts — no source code modified.

Test plan

  • All 34 new tests pass
  • All existing tests still pass
  • No source code modified

Covers the resolver modules split in v0.11.12.0 (garrytan#425):
- preamble: update check, session tracking, AskUserQuestion format, contributor mode
- testing: test bootstrap, coverage audit (plan/ship/review modes)
- utility: slug eval/setup, base branch detect, QA methodology
- codex-helpers: frontmatter parsing, description condensing, skill naming, host transform
- constants: AI slop blacklist, OpenAI rejections, error handling
- browse: setup instructions, binary detection

34 tests, 57 assertions. No source code modified.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant