Skip to main content
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
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.

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.