Trait parables_testing::test_runner::Suite  [−][src]
pub trait Suite<'a> {
    fn test<N: Into<Cow<'a, str>>, F: 'a, T>(&mut self, name: N, entry: F)
    where
        F: Fn() -> T + Send,
        T: IntoResult<()>;
}Helper trait to register tests.
Required Methods
fn test<N: Into<Cow<'a, str>>, F: 'a, T>(&mut self, name: N, entry: F) where
    F: Fn() -> T + Send,
    T: IntoResult<()>, 
F: Fn() -> T + Send,
T: IntoResult<()>,
Register a single test, with a human-readable name.
Implementors
impl<'a> Suite<'a> for TestRunner<'a>impl<'m, 'a: 'm> Suite<'a> for ModuleRunner<'m, 'a>