Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
34b538a
test_runner: add global setup and teardown functionality
pmarchini Apr 9, 2025
71dc16d
test_runner: move global setup and teardown to harness
pmarchini Apr 9, 2025
56017c3
test_runner: implement global setup and teardown functionality in har…
pmarchini Apr 9, 2025
c3fda43
test_runner: add tests for global setup and teardown hooks in watch mode
pmarchini Apr 9, 2025
274dee0
test_runner: add documentation and option for global setup script
pmarchini Apr 9, 2025
ed7f2f8
test_runner: ensure globalSetup runs only once per test run
pmarchini Apr 9, 2025
7e4da85
test_runner: add --import with tests interop test
pmarchini Apr 9, 2025
85525d1
test_runner: modify global setup behavior based on test option
pmarchini Apr 9, 2025
c978cb7
test_runner: ensure globalTeardown is being executed after all the tests
pmarchini Apr 9, 2025
35b9128
test_runner: improve documentation for global setup and teardown func…
pmarchini Apr 9, 2025
5f4831d
test_runner: lint cpp
pmarchini Apr 9, 2025
1b4a328
test: implement running each test in a separate process
pmarchini Apr 9, 2025
d822658
test_runner: fix cjs/mjs doc
pmarchini Apr 9, 2025
bb35899
test: use fileURL for --import
pmarchini Apr 9, 2025
8fd0fb9
fixup! test_runner: add documentation and option for global setup script
pmarchini Apr 9, 2025
f3025df
test_runner: revert formatter
pmarchini Apr 9, 2025
795f734
test_runner: streamline global setup and teardown functions
pmarchini Apr 9, 2025
cf3d8e8
test_runner: move global setup watch mode test to single file
pmarchini Apr 9, 2025
e8f8860
test_runner: refactor global setup and teardown
pmarchini Apr 9, 2025
5437dd2
test_runner: update fixtures
pmarchini Apr 9, 2025
c15a54b
test: remove IBMi and AIX
pmarchini Apr 9, 2025
4940e0c
test: avoid flakiness
pmarchini Apr 9, 2025
740e7b3
test: move fixture
pmarchini Apr 9, 2025
824b8e9
test: specify SIGINT
pmarchini Apr 9, 2025
c4ce83b
test: add isolation option to global hooks configuration
pmarchini Apr 9, 2025
ecb250a
test: add assertions for detailed error
pmarchini Apr 9, 2025
29b6ba5
test: use IPC for graceful child process exit in global setup
pmarchini Apr 9, 2025
287bf50
test: capture stderr for detailed error
pmarchini Apr 9, 2025
9f28b2c
test_runner: handle process exit events in harness and global setup
pmarchini Apr 9, 2025
0ae1c09
fixup! test_runner: handle process exit events in harness and global …
pmarchini Apr 9, 2025
46a2340
test_runner: remove exit event listeners in harness
pmarchini Apr 9, 2025
44b4eb0
test: forward process envs
pmarchini Apr 10, 2025
4a613be
test_runner: remove shared context between global setup and teardown
pmarchini Apr 13, 2025
19ca427
test_runner: update documentation
pmarchini Apr 13, 2025
b4c1c12
test_runner: remove fixture
pmarchini Apr 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! test_runner: handle process exit events in harness and global …
…setup
  • Loading branch information
pmarchini committed Apr 9, 2025
commit 0ae1c092fa63b2961bc1be3bbc070e6fd91fb964
2 changes: 1 addition & 1 deletion lib/internal/test_runner/harness.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ function setupProcessState(root, globalOptions) {
process.removeListener('uncaughtException', exceptionHandler);
process.removeListener('unhandledRejection', rejectionHandler);
process.removeListener('beforeExit', exitHandler);
process.removeListener('exit', exitHandler);
process.removeListener('exit', terminationHandler);
if (globalOptions.isTestRunner) {
process.removeListener('SIGINT', terminationHandler);
process.removeListener('SIGTERM', terminationHandler);
Expand Down