Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/testing

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
Index
bdd_examples
mock_examples
asserts.ts

A library of assertion functions.

bdd.ts

A BDD interface to Deno.test() API.

bench_example.ts

Deprecated. Use Deno.bench() instead.

bench.ts

Deprecated. Use Deno.bench() instead.

chai_example.ts

An example of using ChaiJs with Deno.test().

fast_check_example.ts

Tests that run the fast-check property-based testing library in the Deno runtime.

mock.ts

A mocking and spying library.

sinon_example.ts

An example of using Sinon.js with Deno.test().

snapshot.ts

A snapshotting library.

time.ts

Utilities for mocking time while testing.