Repository navigation
Add consumer release testing helpers and a complete lifecycle example - #16
Merged
Merged
Conversation
dblock
force-pushed
the
dblock/testing-kit
branch
from
November 11, 2026 18:27
0ffec7a to
8dcf4fe
Compare
dblock
force-pushed
the
dblock/testing-kit
branch
from
November 11, 2026 18:38
8dcf4fe to
dcd5729
Compare
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
dblock
force-pushed
the
dblock/testing-kit
branch
from
November 11, 2026 18:47
dcd5729 to
9ef93a8
Compare
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.
Ports the consumer-testing helpers and explicit fixture copying from ruby-gem-release #50 and #54.
Adds the optional
npm-package-release/testingentry point: owned disposable Git projects, local publisher/host adapters with exact archive checksums and immutable retention, isolated inherited command environments, explicit-file preflight, symlink confinement, and permission preservation. No test-framework dependency is added.The packaged lifecycle example shares its actual production builder with executable source/installed tests. It checks release/development README updates, installed artifact behavior, changelog templates, rejected publication, and repeated completion against retained checkpoints. Source and installed declarations cover the public subpath. README, contributor/design guidance, and the testing guide are updated.
Validation: 87 tests via
npm run test:coverage;npm run lint; actual packed-consumer installation with strict engines and the installed lifecycle example. Provided, empty, and unset archive overrides passed. The testing module has 100% line/function and 96.93% branch coverage; overall coverage is 99.32% lines, 100% functions, and 94.79% branches.Depends on #14, whose branch now includes merged #15. Rebasing this layer onto that updated parent preserved the exact tested tree. No publication, tags, releases, credentials, or repository protections were changed. Test adapters are explicit replacements, not a sandbox for arbitrary callbacks.
AI disclosure: Authored by GitHub Copilot on behalf of @dblock.