kitest 0.5.0

A composable test harness toolkit with room to fly.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::{
    ignore::{IgnoreStatus, TestIgnore},
    test::TestMeta,
};

/// A [`TestIgnore`] implementation that never ignores tests.
///
/// All tests are always executed, regardless of any ignore metadata they may
/// carry.
#[derive(Debug, Default, Clone, PartialEq, Eq)]
pub struct NoIgnore;

impl<Extra> TestIgnore<Extra> for NoIgnore {
    fn ignore(&self, _: &TestMeta<Extra>) -> IgnoreStatus {
        IgnoreStatus::Run
    }
}