Skip to content

Overhaul test infrastructure and expand coverage#10

Merged
theoephraim merged 2 commits into
mainfrom
enhance/test-overhaul
Apr 15, 2026
Merged

Overhaul test infrastructure and expand coverage#10
theoephraim merged 2 commits into
mainfrom
enhance/test-overhaul

Conversation

@theoephraim

Copy link
Copy Markdown
Member

Summary

  • Add shared test helpers (makePkg, makeConfig, makeRelease, etc.) and a shell command interceptor that mocks gh CLI calls while passing through real git commands — eliminates flakiness from gh auth state and noisy warnings
  • Refactor all existing tests to use shared helpers, removing duplicated factory functions across test files
  • Add new test files for semver, changelog (default + github), apply-release-plan, and names utilities — test count goes from 69 to 148

Test plan

  • All 148 tests pass locally with bun test
  • CI passes on this branch

🤖 Generated with Claude Code

theoephraim and others added 2 commits April 15, 2026 00:33
Add shared test helpers (makePkg, makeConfig, makeRelease, etc.) and a
shell command interceptor that mocks gh CLI calls while passing through
real git commands. This eliminates test flakiness from gh auth state and
removes noisy "no git remotes found" warnings.

Refactor all existing tests to use shared helpers, and add new test
files for semver, changelog, changelog-github, apply-release-plan, and
names utilities. Test count goes from 69 to 148.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

bumpy-frog

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

You can add a changeset by running:

bunx bumpy add

Or click here to add a changeset directly on GitHub.


This comment is maintained by bumpy.

@theoephraim theoephraim merged commit 4063dc4 into main Apr 15, 2026
2 checks passed
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