import { type DescribeDefinition } from "https://deno.land/std@0.208.0/testing/bdd.ts";
The options for creating a test suite with the describe function.
Properties
The describe
function returns a TestSuite
representing the group of tests.
If describe
is called within another describe
calls fn
, the suite will default to that parent describe
calls returned TestSuite
.
If describe
is not called within another describe
calls fn
, the suite will default to the TestSuite
representing the global group of tests.
Run some shared setup before all of the tests in the suite.
Run some shared teardown after all of the tests in the suite.
Run some shared setup before each test in the suite.