node/test
Ali Ijaz Sheikh 4c34302b7a
test: add test to dynamic enablement of trace-events
PR-URL: https://github.com/nodejs/node/pull/22114
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-09-06 08:54:36 +02:00
..
abort test: remove isGlibc from common 2018-09-03 17:56:53 +02:00
addons test: call gc() explicitly to avoid OOM 2018-08-15 20:23:17 +10:00
addons-napi test: remove unused argument in assertion 2018-08-15 20:23:17 +10:00
async-hooks test: mark async-hooks/test-callback-error as flaky 2018-09-03 17:56:23 +02:00
cctest test: fix cctest URLTest.ToFilePath on Win32 without Intl 2018-09-03 17:56:23 +02:00
code-cache build: create V8 code cache after script is run 2018-07-31 09:35:46 +02:00
common test: use module.exports consistently 2018-09-06 08:53:57 +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: add [src] links to assert.html 2018-09-06 08:53:57 +02:00
internet test: fix test-trace-events-dns 2018-09-06 08:53:57 +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 test: add test to dynamic enablement of trace-events 2018-09-06 08:54:36 +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 src: implement v8::Platform::CallDelayedOnWorkerThread 2018-09-06 08:52:21 +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: add no-duplicate-requires rule 2018-07-14 12:03:01 +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.