diff --git a/test/README.md b/test/README.md index 8affd257a7628e..b79a8efb795f44 100644 --- a/test/README.md +++ b/test/README.md @@ -1,147 +1,154 @@ -# Table of Contents -* [Test directories](#test-directories) -* [Common module API](#common-module-api) - -## Test Directories - -### abort - -Tests for when the `--abort-on-uncaught-exception` flag is used. - -| Runs on CI | -|:----------:| -| No | - -### addons - -Tests for [addon](https://nodejs.org/api/addons.html) functionality along with -some tests that require an addon to function properly. - - -| Runs on CI | -|:----------:| -| Yes | - -### cctest - -C++ test that is run as part of the build process. - -| Runs on CI | -|:----------:| -| Yes | - -### debugger - -Tests for [debugger](https://nodejs.org/api/debugger.html) functionality. - -| Runs on CI | -|:----------:| -| No | - -### disabled - -Tests that have been disabled from running for various reasons. - -| Runs on CI | -|:----------:| -| No | - -### fixtures - -Test fixtures used in various tests throughout the test suite. - -### gc - -Tests for garbage collection related functionality. - -| Runs on CI | -|:----------:| -| No | - +# Node.js Core Tests -### inspector +This folder contains code and data used to test the Node.js implementation. -Tests for the V8 inspector integration. +For a detailed guide on how to write tests in this +directory, see [the guide on writing tests](../doc/guides/writing-tests.md). -| Runs on CI | -|:----------:| -| Yes | +On how to run tests in this direcotry, see +[the contributing guide](../CONTRIBUTING.md#step-5-test). -### internet +## Table of Contents -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. - -| Runs on CI | -|:----------:| -| No | - -### known_issues - -Tests reproducing known issues within the system. - -| Runs on CI | -|:----------:| -| No | - -### message - -Tests for messages that are output for various conditions (`console.log`, -error messages etc.) - -| Runs on CI | -|:----------:| -| Yes | - -### parallel - -Various tests that are able to be run in parallel. - -| Runs on CI | -|:----------:| -| Yes | - -### pummel - -Various tests for various modules / system functionality operating under load. - -| Runs on CI | -|:----------:| -| No | - -### sequential - -Various tests that are run sequentially. - -| Runs on CI | -|:----------:| -| Yes | - -### testpy - -Test configuration utility used by various test suites. - -### tick-processor - -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. - -| Runs on CI | -|:----------:| -| No | - -### timers - -Tests for [timing utilities](https://nodejs.org/api/timers.html) (`setTimeout` -and `setInterval`). +* [Test directories](#test-directories) +* [Common module API](#common-module-api) -| Runs on CI | -|:----------:| -| No | +## 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. + | +
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 | +No | +Tests reproducing known issues within the system. | +
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. | +
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 ).
+ |
+