FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test_runner: run top level tests in a microtask by cjihrig · Pull Request #52092 · nodejs/node · GitHub

/ node Public

test_runner: run top level tests in a microtask - #52092

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
cjihrig:start-tests
Mar 17, 2024
Merged

test_runner: run top level tests in a microtask#52092
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
cjihrig:start-tests

Conversation

cjihrig commented Mar 15, 2024

Copy link
Copy Markdown
Contributor

This commit updates the test harness to prevent top level tests from executing immediately. This allows certain config data, such as filtering options, to be discovered before running the tests.

This commit updates the test harness to prevent top level
tests from executing immediately. This allows certain config
data, such as filtering options, to be discovered before running
the tests.

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/test_runner

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 Mar 15, 2024

MoLow commented Mar 15, 2024

Copy link
Copy Markdown
Member

Have you compared this with converting the root test to be a suite?

cjihrig commented Mar 15, 2024

Copy link
Copy Markdown
Contributor Author

I have not. This seems like a pretty noninvasive change, and I do like that the harness can easily enable/disable running tests. I'm fine with either approach - I just think it's time to make the change.

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

cjihrig added the commit-queue Add this label to land a pull request using GitHub Actions. label Mar 17, 2024
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Mar 17, 2024
nodejs-github-bot merged commit 05db979 into nodejs:main Mar 17, 2024

Copy link
Copy Markdown
Collaborator

Landed in 05db979

cjihrig deleted the start-tests branch March 17, 2024 04:51
marco-ippolito pushed a commit that referenced this pull request May 2, 2024
This commit updates the test harness to prevent top level
tests from executing immediately. This allows certain config
data, such as filtering options, to be discovered before running
the tests.

PR-URL: #52092
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
marco-ippolito pushed a commit that referenced this pull request May 23, 2024
This commit updates the test harness to prevent top level
tests from executing immediately. This allows certain config
data, such as filtering options, to be discovered before running
the tests.

PR-URL: #52092
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
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

Labels

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.

4 participants


Back | FazBrowse Home | New Git URL