Skip to main content
Home
This release is 9 versions behind 1.0.16 — the latest version of @std/testing. Jump to latest

Built and signed on GitHub Actions

Tools for testing Deno code like snapshot testing, bdd testing, and time mocking

This package works with Deno
This package works with Deno
JSR Score
94%
Published
a year ago (1.0.7)

bdd

A BDD interface to Deno.test() API.

f
after

Alias of afterAll.

f
afterAll

Run some shared teardown after all of the tests in the suite.

f
afterEach

Run some shared teardown after each test in the suite.

f
before

Alias of beforeAll

f
beforeAll

Run some shared setup before all of the tests in the suite. beforeAll is only provided for compatibility. Top-level initialization code should be used instead.

f
beforeEach

Run some shared setup before each test in the suite.

f
I
N
describe

Registers a test suite.

v
describe.ignore

Ignore the test suite.

v
describe.only

Only execute this test suite.

v
describe.skip

Skip the test suite.

T
DescribeArgs

The arguments for a DescribeFunction.

I
DescribeDefinition

The options for creating a test suite with the describe function.