import { runTestModules } from "https://deno.land/x/deno@v0.28.0/std/testing/mod.ts";
Import the specified test modules and run their tests as a suite.
Test modules are specified as an array of strings and can include local files or URLs.
File matching and excluding support glob syntax - arguments recognized as
globs will be expanded using glob()
from the fs
module.
Example:
runTestModules({ include: ["**\/*_test.ts", "**\/test.ts"] });
Any matched directory <dir>
will expand to:
So the above example is captured naturally by:
runTestModules({ include: ["."] });
Which is the default used for:
runTestModules();
Parameters
optional
unnamed 0: RunTestModulesOptions = [UNSUPPORTED]