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

A BDD interface to Deno.test() API.

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.

types.ts