Raz Luvaton
0fea550641
test: reorder test files fixtures for better understanding
...
PR-URL: https://github.com/nodejs/node/pull/48787
Backport-PR-URL: https://github.com/nodejs/node/pull/49225
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2023-11-27 11:57:16 +01:00
Raz Luvaton
b55eb2a8d1
test_runner: add shards support
...
PR-URL: https://github.com/nodejs/node/pull/48639
Backport-PR-URL: https://github.com/nodejs/node/pull/49762
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2023-10-28 12:33:49 +02:00
Moshe Atlow
6ec57984db
test: add missing assertions to test-runner-cli
...
PR-URL: https://github.com/nodejs/node/pull/48593
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-09-16 15:39:12 -04:00
Moshe Atlow
8398bca842
test_runner: fix --require with --experimental-loader
...
PR-URL: https://github.com/nodejs/node/pull/47751
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-07-07 00:06:09 +03:00
Moshe Atlow
460bcc042e
test_runner: count nested tests
...
PR-URL: https://github.com/nodejs/node/pull/47094
Fixes: https://github.com/nodejs/node/issues/46762
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2023-07-06 11:09:29 -04:00
Moshe Atlow
5b3c606626
test_runner: flatten TAP output when running using --test
...
PR-URL: https://github.com/nodejs/node/pull/46440
Backport-PR-URL: https://github.com/nodejs/node/pull/46839
Fixes: https://github.com/nodejs/node/issues/45833
Refs: https://github.com/nodejs/node/issues/45833
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2023-03-04 23:03:33 -05:00
Colin Ihrig
ed9246f6fc
test_runner: don't parse TAP from stderr
...
This commit stops the test runner CLI from parsing child
process stderr as TAP. Per the TAP spec, TAP can only come from
stdout. To avoid losing stderr data, those logs are injected
into the parser as unknown tokens so that they are output as
comments.
PR-URL: https://github.com/nodejs/node/pull/45618
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2023-01-03 08:39:08 -05:00
Wassim Chegham
16bedbabce
test_runner: add initial TAP parser
...
Work in progress
PR-URL: https://github.com/nodejs/node/pull/43525
Refs: https://github.com/nodejs/node/issues/43344
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2023-01-03 08:38:58 -05:00
Moshe Atlow
3c1e9d41c8
test_runner: support using --inspect with --test
...
PR-URL: https://github.com/nodejs/node/pull/44520
Backport-PR-URL: https://github.com/nodejs/node/pull/44813
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2022-10-04 11:28:56 +01:00
Antoine du Hamel
40f51d8e83
test_runner: protect internals against prototype tampering
...
PR-URL: https://github.com/nodejs/node/pull/43578
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2022-07-12 07:41:55 +02:00
Antoine du Hamel
8476ffb85a
test: use assert.match() instead of assert(regex.test())
...
PR-URL: https://github.com/nodejs/node/pull/42803
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
2022-04-28 06:57:21 +02:00
Colin Ihrig
78a860ae58
test_runner: add initial CLI runner
...
This commit introduces an initial version of a CLI-based
test runner.
PR-URL: https://github.com/nodejs/node/pull/42658
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2022-04-28 06:56:10 +02:00