Skip to main content
Testing - Deno documentation

Functions

f
Deno.bench

Register a benchmark test which will be run when deno bench is used onthe 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 sharedbetween iterations of the benchmark. Its methods can be used for exampleto 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 eithergain information about the current test, or register additional teststeps 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 commandline and the containing module looks like a test module.