af_core/
test.rs

1// Copyright © 2021 Alexandra Frydl
2//
3// This Source Code Form is subject to the terms of the Mozilla Public
4// License, v. 2.0. If a copy of the MPL was not distributed with this
5// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7//! Concurrent test suites.
8
9mod context;
10mod output;
11mod path;
12
13/// Exports commonly used imports for writing tests.
14pub mod prelude {
15  pub use crate::prelude::*;
16  pub use crate::test::{self, test};
17}
18
19pub use self::context::Context;
20pub use self::output::{Output, OutputStream};
21pub use self::path::Path;
22pub use af_core_macros::test;
23
24#[cfg(feature = "test-runner")]
25pub mod runner;
26
27#[cfg(feature = "test-runner")]
28pub use self::runner::main;