Testing - Deno documentation

Functions

f
Deno.bench

Register a benchmark test which will be run when deno bench is used on the command line and the containing module looks like a bench module.

Interfaces

I
Deno.BenchContext

Context that is passed to a benchmarked function. The instance is shared between iterations of the benchmark. Its methods can be used for example to override of the measured portion of the function.

I
Deno.BenchDefinition

The interface for defining a benchmark test using Deno.bench.

I
Deno.DenoTest
No documentation available
I
Deno.TestContext

Context that is passed to a testing function, which can be used to either gain information about the current test, or register additional test steps within the current test.

I
Deno.TestDefinition
No documentation available
I
Deno.TestStepDefinition
No documentation available

Variables

v
Deno.test

Register a test which will be run when deno test is used on the command line and the containing module looks like a test module.