Repository navigation
[heft-jest-plugin] Add standalone JUnit serialization utility - #6206
Open
Yashwanth Reddy Verupaka (yashwanth195) wants to merge 1 commit into
Open
Yashwanth Reddy Verupaka (yashwanth195) wants to merge 1 commit into
Yashwanth Reddy Verupaka (yashwanth195) wants to merge 1 commit into
Conversation
This branch has not been deployed
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.
Summary
Add a pure Jest-to-JUnit serializer that preserves real assertion identities and outcomes rather than manufacturing passing tests from aggregate counts. This standalone foundation does not enable sharding or JUnit report publication, and has no unmerged PR prerequisites.
Details
Deferred to integration: payload-v3 capture/validation (including invalid durations), actual manifest collation, ownership/cancellation/atomic XML publication, and end-to-end XML/JSON verdict checks. No
junitOutputFileoption or filesystem writes are added here.How it was tested
Windows, Node 24.22.1 and repository Rush 5.182.0. These results validate this standalone port, not the original combined implementation. The committed tree matches the tested tree.
node common\scripts\install-run-rush.js install --to @rushstack/heft-jest-pluginnode common\scripts\install-run-rush.js prettiernode common\scripts\install-run-rush.js build --to-except @rushstack/heft-jest-plugin --parallelism 4node common\scripts\install-run-rush.js test --only @rushstack/heft-jest-plugin --parallelism 4node common\scripts\install-run-rush.js change --verify --target-branch upstream/maingit diff --cached --checkBuild and test phases retain the repository's warning-strict settings; no warning overrides were used. Tests use the existing decoupled rig (Jest runner 30.2.0); the package's Jest 30.3.0 dependency declarations are unchanged. No full-monorepo or deferred integration tests were run.
Impacted documentation
Updated the package README with the utility's validated-input boundary. No website or schema changes.