Skip to main content

test/reporters

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';
c
LcovReporter
No documentation available
    c
    SpecReporter
    No documentation available
      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 Jump to heading

            I
            ReporterConstructorWrapper
            No documentation available

              Type Aliases Jump to heading

              T
              TestEvent
              No documentation available
                T
                TestEventGenerator
                No documentation available
                  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.

                      Back to top