import { TestSuite } from "https://deno.land/x/collections@v0.10.1/deps/udibo/test_suite/mod.ts";
A group of tests. A test suite can include child test suites. The name of the test suite is prepended to the name of each test within it. Tests belonging to a suite will inherit options from it.
Constructors
Properties
Run some shared teardown after each test in the suite.
Run some shared setup before each test in the suite.
The context for tests within the suite.
If at least one test suite or test has only set to true, only run test suites and tests that have only set to true.
Check that the number of async completed ops after each test in the suite is the same as the number of dispatched ops. Defaults to true.
Ensure the test cases in the suite do not "leak" resources - ie. the resource table after each test has exactly the same contents as before each test. Defaults to true.
Static Properties
The function used to register tests. Defaults to Deno.test
.
Static Methods
Initializes global test suite. This should not be used in your tests. This is used internally and for testing the test suite module.
Resets global test suite. This should not be used in your tests. This is used for testing the test suite module.
Register a test which will run when deno test
is used on the command line
and the containing module looks like a test module.