Skip to main content
test/reporters - Node documentation

Usage in Deno

import * as mod from "node:test/reporters";

The node:test/reporters module exposes the builtin-reporters for node:test. To access it:

import test from 'node:test/reporters';

This module is only available under the node: scheme. The following will not work:

import test from 'node:test/reporters';

Classes

c
LcovReporter
No documentation available
c
SpecReporter
No documentation available

Functions

f
dot

The dot reporter outputs the test results in a compact format, where each passing test is represented by a ., and each failing test is represented by a X.

f
junit

The junit reporter outputs test results in a jUnit XML format.

f
tap

The tap reporter outputs the test results in the TAP format.

Interfaces

I
ReporterConstructorWrapper
No documentation available

Type Aliases

T
TestEvent
No documentation available
T
TestEventGenerator
No documentation available

Variables

v
lcov

The lcov reporter outputs test coverage when used with the --experimental-test-coverage flag.

v
spec

The spec reporter outputs the test results in a human-readable format.