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

std/testing/bdd.ts>describe

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface describe
import { type describe } from "https://deno.land/std@0.209.0/testing/bdd.ts";

Registers a test suite.

Methods

only<T>(...args: DescribeArgs<T>): TestSuite<T>

Registers a test suite with only set to true.

ignore<T>(...args: DescribeArgs<T>): TestSuite<T>

Registers a test suite with ignore set to true.

skip<T>(...args: ItArgs<T>): void

Registers a test suite with ignore set to true. Alias of .ignore().

function describe
import { describe } from "https://deno.land/std@0.209.0/testing/bdd.ts";

Registers a test suite.