1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright © 2021 Alexandra Frydl
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

//! Concurrent test suites.

mod context;
mod output;
mod path;

/// Exports commonly used imports for writing tests.
pub mod prelude {
  pub use crate::prelude::*;
  pub use crate::test::{self, test};
}

pub use self::context::Context;
pub use self::output::{Output, OutputStream};
pub use self::path::Path;
pub use af_core_macros::test;

#[cfg(feature = "test-runner")]
pub mod runner;

#[cfg(feature = "test-runner")]
pub use self::runner::main;