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
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.

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.