Skip to content
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

test_runner: print failing assertion only once with spec reporter #56662

Closed
wants to merge 1 commit into from

Conversation

pmarchini
Copy link
Member

This PR should address #56316.

I've opened this PR because #56351 seems stale.

Considering that @Llorx would be a first-time contributor finalising his PR (which was missing only updates to the tests), I'd suggest waiting a few days before landing this one, giving him more time 🚀
I've added @Llorx as a co-author of the commit

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/test_runner

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test_runner Issues and PRs related to the test runner subsystem. labels Jan 19, 2025
Copy link

codecov bot commented Jan 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.22%. Comparing base (3fe8027) to head (cc8a294).
Report is 44 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #56662      +/-   ##
==========================================
+ Coverage   89.19%   89.22%   +0.02%     
==========================================
  Files         662      662              
  Lines      191893   191895       +2     
  Branches    36937    36943       +6     
==========================================
+ Hits       171164   171221      +57     
+ Misses      13573    13521      -52     
+ Partials     7156     7153       -3     
Files with missing lines Coverage Δ
lib/internal/test_runner/reporter/spec.js 96.19% <100.00%> (ø)
lib/internal/test_runner/reporter/utils.js 94.62% <100.00%> (-2.08%) ⬇️

... and 49 files with indirect coverage changes

@pmarchini pmarchini requested review from cjihrig and MoLow January 22, 2025 09:11
@legendecas legendecas added the request-ci Add this label to start a Jenkins CI on a PR. label Jan 23, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jan 23, 2025
@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Jan 24, 2025

@pmarchini pmarchini added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jan 24, 2025
jasnell pushed a commit that referenced this pull request Jan 24, 2025
Co-authored-by: Llorx <[email protected]>
PR-URL: #56662
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@jasnell
Copy link
Member

jasnell commented Jan 24, 2025

Landed in c752615

@jasnell jasnell closed this Jan 24, 2025
@cjihrig
Copy link
Contributor

cjihrig commented Jan 26, 2025

Just a note - I just had my first experience really using the test runner after this change landed. It's really nice 👍

aduh95 pushed a commit that referenced this pull request Jan 27, 2025
Co-authored-by: Llorx <[email protected]>
PR-URL: #56662
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
aduh95 pushed a commit that referenced this pull request Jan 30, 2025
Co-authored-by: Llorx <[email protected]>
PR-URL: #56662
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
hvanness pushed a commit to hvanness/node that referenced this pull request Jan 30, 2025
Co-authored-by: Llorx <[email protected]>
PR-URL: nodejs#56662
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. needs-ci PRs that need a full CI run. test_runner Issues and PRs related to the test runner subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants