node/test
Andreas Haas 5331c9dc72 src: initialize PerIsolateData eagerly
PR-URL: https://github.com/nodejs/node/pull/21983
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2018-10-06 00:26:40 +05:30
..
abort test: remove isGlibc from common 2018-09-03 17:56:53 +02:00
addons test: remove usage of deprecated V8 APIs in addons 2018-09-07 20:39:08 +02:00
addons-napi test: remove string literal message from assertion 2018-09-20 08:09:24 +02:00
async-hooks test: remove string literal message in assertions 2018-09-20 08:09:24 +02:00
cctest src: initialize PerIsolateData eagerly 2018-10-06 00:26:40 +05:30
code-cache build: create V8 code cache after script is run 2018-07-31 09:35:46 +02:00
common test: don't inspect values if not necessary 2018-09-20 08:09:24 +02:00
doctool tools: Include links to source code in documentation 2018-09-06 08:53:57 +02:00
es-module test: run ESM tests in parallel 2018-08-04 20:41:46 +02:00
fixtures tools,doc: apilinks should handle root scenarios 2018-09-10 18:23:44 +02:00
internet test: don't inspect values if not necessary 2018-09-20 08:09:24 +02:00
known_issues test: make crashOnUnhandleRejection opt-out 2018-07-24 20:42:32 +02:00
message test: make crashOnUnhandleRejection opt-out 2018-07-24 20:42:32 +02:00
parallel doc, win: improve os.setPriority documentation 2018-09-20 08:09:24 +02:00
pseudo-tty stream: fix readable behavior for highWaterMark === 0 2018-08-15 20:23:17 +10:00
pummel test: remove common.fileExists() 2018-08-15 20:23:17 +10:00
sequential test: simplify assertion in http2 tests 2018-09-20 08:09:24 +02:00
testpy test: remove custom AsyncHooksTestConfiguration 2018-07-31 09:38:48 +02:00
tick-processor test: move common.isCPPSymbolsNotMapped to tick-processor tests 2018-09-06 08:52:21 +02:00
v8-updates test: update postmortem metadata test 2018-08-15 20:23:17 +10:00
.eslintrc.yaml tools: prevent string literals in some assertions 2018-09-20 08:09:24 +02:00
README.md test,doc: adjust markdown table for linting 2018-08-15 20:23:17 +10:00

README.md

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.
addons-napi Yes Tests for n-api functionality.
async-hooks Yes Tests for async_hooks functionality.
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.
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.)
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.