0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test
Refael Ackermann 961322178d test: de-flake test-dns-idna2008.js
* use known well-behaved DNS server
* force pass on ESERVFAIL

PR-URL: https://github.com/nodejs/node/pull/26473
Fixes: https://github.com/nodejs/node/issues/25870
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
2019-03-09 10:13:02 -05:00
..
abort test: remove usage of process.binding() 2019-03-07 17:43:21 +01:00
addons benchmark,doc,lib,test: capitalize comments 2019-02-28 18:31:10 +01:00
async-hooks test: remove usage of process.binding() 2019-03-07 17:43:21 +01:00
benchmark benchmark,test: refactoring 2019-02-18 13:15:28 -05:00
cctest src: add public API for linked bindings 2019-03-09 00:29:35 +01:00
code-cache process: split execution into main scripts 2019-01-30 21:03:17 +08:00
common lib: move queueMicrotask to stable 2019-03-08 08:19:38 -06:00
doctool tools: make apilinks building more robust 2018-12-18 05:14:24 +01:00
es-module esm: process proxy Symbol.toString fix 2019-03-03 18:20:45 +02:00
fixtures test: remove usage of process.binding() 2019-03-07 17:43:21 +01:00
internet test: de-flake test-dns-idna2008.js 2019-03-09 10:13:02 -05:00
js-native-api n-api: improve performance creating strings 2019-03-09 00:21:50 +01:00
known_issues benchmark,doc,lib,test: capitalize comments 2019-02-28 18:31:10 +01:00
message src: handle errors while printing error objects 2019-02-03 20:37:52 +01:00
node-api test: remove flaky designation for test_threadsafe_function 2019-03-04 11:09:47 -08:00
parallel crypto: improve error handling in parseKeyEncoding 2019-03-09 12:00:23 +01:00
pseudo-tty tty: add hasColors function 2019-03-05 18:37:39 +01:00
pummel worker: refactor thread life cycle management 2019-03-01 10:14:55 +01:00
report test: refactor test/report/test-report-signal.js 2019-03-07 15:48:06 -05:00
sequential test: remove usage of process.binding() 2019-03-07 17:43:21 +01:00
testpy test: remove Files: comment processing from Python test runner 2018-12-23 09:46:14 -08:00
tick-processor
v8-updates test: update postmortem metadata test for V8 7.1 2018-12-06 15:25:53 +01:00
wpt test: run html/webappapis/timers WPT 2019-02-01 00:52:00 +08:00
.eslintrc.yaml
README.md test: partition N-API tests 2018-12-04 13:58:17 -08:00
root.status test: exclude additional test for coverage 2019-02-01 16:44:01 -05:00

Node.js Core Tests

This directory contains code and data used to test the Node.js implementation.

For a detailed guide on how to write tests in this directory, see the guide on writing tests.

On how to run tests in this directory, see the contributing guide.

For the tests to successfully run on Windows, Node.js has to be checked out from GitHub with the autocrlf git config flag set to true.

Test Directories

Directory Runs on CI Purpose
abort Yes Tests for when the --abort-on-uncaught-exception flag is used.
addons Yes Tests for addon functionality along with some tests that require an addon to function properly.
async-hooks Yes Tests for async_hooks functionality.
benchmark No Test minimal functionality of benchmarks.
cctest Yes C++ tests that are run as part of the build process.
code-cache No Tests for a Node.js binary compiled with V8 code cache.
common Common modules shared among many tests. Documentation
doctool Yes Tests for the documentation generator.
es-module Yes Test ESM module loading.
fixtures Test fixtures used in various tests throughout the test suite.
internet No Tests that make real outbound connections (mainly networking related modules). Tests for networking related modules may also be present in other directories, but those tests do not make outbound connections.
js-native-api Yes Tests for Node.js-agnostic n-api functionality.
known_issues Yes Tests reproducing known issues within the system. All tests inside of this directory are expected to fail consistently. If a test doesn't fail on certain platforms, those should be skipped via known_issues.status.
message Yes Tests for messages that are output for various conditions (console.log, error messages etc.)
node-api Yes Tests for Node.js-specific n-api functionality.
parallel Yes Various tests that are able to be run in parallel.
pseudo-tty Yes Tests that require stdin/stdout/stderr to be a TTY.
pummel No Various tests for various modules / system functionality operating under load.
sequential Yes Various tests that are run sequentially.
testpy Test configuration utility used by various test suites.
tick-processor No Tests for the V8 tick processor integration. The tests are for the logic in lib/internal/v8_prof_processor.js and lib/internal/v8_prof_polyfill.js. The tests confirm that the profile processor packages the correct set of scripts from V8 and introduces the correct platform specific logic.
v8-updates No Tests for V8 performance integration.