Lines Matching +full:runner +full:- +full:before +full:- +full:script
11 Currently there are still some Web Platform Tests titled `test-whatwg-*`
14 `test-whatwg-*-custom-*` tests that may need to be upstreamed.
17 <a id="add-tests"></a>
30 See [Format of a status JSON file](#status-format) for details.
44 For example, for the URL tests, add a file `test/wpt/test-url.js`:
51 const runner = new WPTRunner('url');
54 runner.setFlags(['--expose-internals']);
56 // Set a script that will be executed in the worker before running the tests.
57 runner.setInitScript(`
63 runner.runJsTests();
75 $ tools/test.py wpt/test-url
78 To run a specific test in WPT, for example, `url/url-searchparams.any.js`,
82 node test/wpt/test-url.js url-searchparams.any.js
88 For example, to mark `url/url-searchparams.any.js` as expected to fail,
92 "url-searchparams.any.js": {
101 See [Format of a status JSON file](#status-format) for details.
110 Run Step 2 and Step 4 of [adding tests for a new module](#add-tests).
148 <a id="status-format"></a>
156 "requires": ["small-icu"], // supports: "small-icu", "full-icu"
177 Web API, or certain harness has not been ported in our test runner yet.
180 [Web Platform Tests]: https://github.com/web-platform-tests/wpt
182 [git node wpt]: https://github.com/nodejs/node-core-utils/blob/HEAD/docs/git-node.md#git-node-wpt