xpct 0.5.1

An extensible test assertion library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod assertion;
mod base;
mod color;
mod formatter;
mod formatter_color;

pub(crate) mod strings;
pub(crate) mod style;

pub use assertion::DefaultAssertionFormat;
pub use base::{AssertionFormat, DispatchFormat, Format, MatcherFormat, NegFormat};
pub use color::{Color, OutputStyle, TextColor, TextStyle};

#[cfg(feature = "color")]
pub use formatter_color::{FormattedOutput, Formatter};

#[cfg(not(feature = "color"))]
pub use formatter::{FormattedOutput, Formatter};