1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2018-2024 the Deno authors. MIT license.

mod collection;
mod runner;

pub use collection::*;
pub use runner::*;

pub fn collect_and_run_tests(
  collect_options: CollectOptions,
  run_options: RunOptions,
  run_test: RunTestFunc,
) {
  let category = collect_tests_or_exit(collect_options);
  run_tests(&category, run_options, run_test)
}