0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
nodejs/test
Rich Trott 93683c616b test: refactor test-child-process-send-type-error
* Add exit listener to child process to check return code. Previously,
  child process faiilure would not cause the test to fail.
* Use common.mustNotCall() to guarantee callback is not invoked.
* Insert blank line per test writing guide.

PR-URL: https://github.com/nodejs/node/pull/13904
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
2017-06-29 21:14:42 -07:00
..
abort
addons test: remove unneeded HandleScope usage 2017-06-28 14:13:07 +02:00
addons-napi n-api: avoid crash in napi_escape_scope() 2017-06-21 16:57:39 -04:00
async-hooks test: improve async-hooks/test-callback-error 2017-06-21 06:13:04 -04:00
cctest test: check uv_ip4_addr return value 2017-06-26 10:28:13 -07:00
common benchmark,lib,test: use braces for multiline block 2017-06-23 14:43:20 -07:00
debugger test: fix RegExp nits 2017-06-21 03:40:27 +03:00
disabled test: remove unnecessary Buffer import 2017-06-24 00:38:12 +02:00
doctool test: fix RegExp nits 2017-06-21 03:40:27 +03:00
fixtures test: delete outdated fixtures/stdio-filter.js 2017-06-19 02:29:36 +03:00
gc
inspector test: fix RegExp nits 2017-06-21 03:40:27 +03:00
internet test: remove unnecessary Buffer import 2017-06-24 00:38:12 +02:00
known_issues test: fix test-inspector-port-zero-cluster 2017-06-16 07:14:25 -04:00
message tools: update ESLint to v4.0.0 2017-06-17 12:56:58 -07:00
parallel test: refactor test-child-process-send-type-error 2017-06-29 21:14:42 -07:00
pseudo-tty
pummel test: remove unnecessary Buffer import 2017-06-24 00:38:12 +02:00
sequential test: make http(s)-set-timeout-server more similar 2017-06-26 21:08:09 +03:00
testpy
tick-processor
timers
.eslintrc.yaml
README.md src,lib,test,doc: correct misspellings 2017-06-17 19:17:46 +02: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.

Test Directories

Directory Runs on CI Purpose
abort No 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.
cctest Yes C++ test that is run as part of the build process.
common Common modules shared among many tests. [Documentation]
debugger No Tests for debugger functionality along with some tests that require an addon to function properly.
disabled No Tests that have been disabled from running for various reasons.
fixtures Test fixtures used in various tests throughout the test suite.
gc No Tests for garbage collection related functionality.
inspector Yes Tests for the V8 inspector integration.
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.
timers No Tests for timing utilities (setTimeout and setInterval).