Tests for when the --abort-on-uncaught-exception
flag is used.
Runs on CI |
---|
No |
Tests for addon functionality along with some tests that require an addon to function properly.
Runs on CI |
---|
Yes |
C++ test that is run as part of the build process.
Runs on CI |
---|
Yes |
Tests for debugger functionality.
Runs on CI |
---|
No |
Tests that have been disabled from running for various reasons.
Runs on CI |
---|
No |
Test fixtures used in various tests throughout the test suite.
Tests for garbage collection related functionality.
Runs on CI |
---|
No |
Tests for the V8 inspector integration.
Runs on CI |
---|
Yes |
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 |
Tests reproducing known issues within the system.
Runs on CI |
---|
No |
Tests for messages that are output for various conditions (console.log
,
error messages etc.)
Runs on CI |
---|
Yes |
Various tests that are able to be run in parallel.
Runs on CI |
---|
Yes |
Various tests for various modules / system functionality operating under load.
Runs on CI |
---|
No |
Various tests that are run sequentially.
Runs on CI |
---|
Yes |
Test configuration utility used by various test suites.
Tests for timing utilities (setTimeout
and setInterval
).
Runs on CI |
---|
No |
The common.js module is used by tests for consistency across repeated tasks. It has a number of helpful functions and properties to help with writing tests.
Takes whitelist
and concats that with predefined knownGlobals
.
A stream to push an array into a REPL
time
<Number>
Blocks for time
amount of time.
- return <Object>
Platform normalizes the dd
command
- return <Boolean>
Check if there is more than 1gb of total memory.
Tests whether name
and expected
are part of a raised warning.
- return <Boolean>
Checks for 'openssl'.
- return <Boolean>
Checks hasCrypto
and crypto
with fips.
- return <Boolean>
Checks whether IPv6
is supported on this platform.
- return <Boolean>
Checks if there are multiple localhosts available.
Throws an AssertionError
with msg
- return <String>
Return the path to the fake.
Checks if pathname
exists
- return <String>
Path to the 'fixtures' directory.
- return <Boolean>
Turn this off if the test should not check for global leaks.
- return <Boolean>
Checks whether free BSD Jail is true or false.
- return <Boolean>
Platform check for Advanced Interactive eXecutive (AIX).
Attempts to 'kill' pid
- return <Boolean>
Platform check for Free BSD.
- return <Boolean>
Platform check for Linux.
- return <Boolean>
Platform check for Linux on PowerPC.
- return <Boolean>
Platform check for OS X.
- return <Boolean>
Platform check for SunOS.
- return <Boolean>
Platform check for Windows.
- return <Boolean>
Platform check for Windows 32-bit on Windows 64-bit.
- return <Array>
Checks whether any globals are not on the knownGlobals
list.
- return <String>
Path to the 'lib' directory.
- return <String>
Gets IP of localhost
- return <Array>
Array of IPV6 hosts.
- fn <Function>
- expected <Number> default = 1
Number of times fn
should be called.
Returns true
if the exit code exitCode
and/or signal name signal
represent the exit code and/or signal name of a node process that aborted, false
otherwise.
- return <Boolean>
Checks whether 'opensslCli' is supported.
Platform normalizes timeout.
- return <String>
Path to the test sock.
- return <Number> default =
12346
Port tests are running on.
- return <String>
Deletes the 'tmp' dir and recreates it
- return <String>
Path to the 'root' directory. either /
or c:\\
(windows)
msg
<String>
Logs '1..0 # Skipped: ' + msg
Platform normalizes the cat
command.
Platform normalizes the pwd
command.
Synchronous version of spawnCat
.
Synchronous version of spawnPwd
.
- return <String>
Path to the 'test' directory.
- return <String>
Path to the 'tmp' directory.
- return <String>
Name of the temp directory used by tests.