-
-
Notifications
You must be signed in to change notification settings - Fork 34.6k
test_runner: support expecting a test-case to fail #60669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
aduh95
merged 16 commits into
nodejs:main
from
JakobJingleheimer:test_runner/feat/should-fail
Jan 15, 2026
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
8d75bce
test_runner: support expecting a test-case to fail
JakobJingleheimer a6415d3
fixup!: rename `fail` → `xfail`
JakobJingleheimer de462d3
fixup!: add `getXFail` to `TestStream`
JakobJingleheimer 7f162bf
fixup!: test-case descriptions
JakobJingleheimer a56e4a5
fixup!: add doc for `xfail`
JakobJingleheimer d0936a6
fixup!: tidy todo comment
JakobJingleheimer 124c7a5
fixup!: add `# EXPECTED FAILURE` to other builtin reporter output
JakobJingleheimer fc23519
fixup!: update snapshot
JakobJingleheimer e6fcf0e
fixup!: add meta to doc
JakobJingleheimer 6544235
fixup!: remove unnecessary code comment
JakobJingleheimer 33983b1
fixup!: update snapshot
JakobJingleheimer e93deac
fixup!: add `xfail` cases to all reporter tests
JakobJingleheimer 81a9668
fixup!: update snapshots
JakobJingleheimer 502ab40
fixup!: update snapshot
JakobJingleheimer ea2f54c
fixup!: update API doc to be less "why", just "what"
JakobJingleheimer 1c88cd4
fixup!: `xfail` → `expectFailure`
JakobJingleheimer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.