0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test
gengjiawen 93df085386 test: fix this scope bug in test-stream2-writable.js
PR-URL: https://github.com/nodejs/node/pull/27111
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
2019-04-08 22:40:15 +08:00
..
abort
addons esm: phase two of new esm implementation 2019-03-27 15:52:11 -04:00
async-hooks benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
benchmark test: fix test-benchmark-module 2019-04-04 22:13:56 -07:00
cctest process: run RunBootstrapping in CreateEnvironment 2019-04-03 08:46:03 +08:00
code-cache src: port bootstrap/cache.js to C++ 2019-04-04 11:16:10 +08:00
common report: add cwd to report 2019-04-02 20:48:59 -04:00
doctool
es-module esm: phase two of new esm implementation 2019-03-27 15:52:11 -04:00
fixtures crypto: add support for RSA-PSS keys 2019-04-08 09:22:32 +02:00
internet test: refactor test-dgram-broadcast-multi-process 2019-03-23 19:58:04 -07:00
js-native-api test: cover napi_get/set/has_named_property() 2019-04-05 11:56:09 -07:00
known_issues test: fix error code typo 2019-04-01 06:22:25 +02:00
message module: inline try catch 2019-04-04 13:03:27 +02:00
node-api
parallel test: fix this scope bug in test-stream2-writable.js 2019-04-08 22:40:15 +08:00
pseudo-tty
pummel src: implement MemoryRetainer in Environment 2019-04-04 11:09:29 +08:00
report report: add support for UDP connected sockets 2019-04-05 13:24:06 -04:00
sequential errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
testpy
tick-processor
v8-updates test: update postmortem metadata test for V8 7.4 2019-03-28 16:39:35 -04:00
wpt
.eslintrc.yaml lib: remove env: node in eslint config for lib files 2019-04-06 12:04:36 +08:00
README.md
root.status tools: remove eslint rule no-let-in-for-declaration 2019-03-26 09:46:41 -07: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.