/// If every step of a test is marked as `skip`, there's no need to run
/// anything. This function returns a `Some` with a skipped report for every
/// step of a test when they are all marked as `skip`.
If every step of a test is marked as `skip`, there's no need to run
anything. This function returns a `Some` with a skipped report for every
step of a test when they are all marked as `skip`.
If every step of a test is marked as ` skip ` there ' s no need to run anything . This function returns a ` Some ` with a skipped report for every step of a test when they are all marked as ` skip ` .
pub fn should_skip(test: &Test) -> bool {
    match test {
        Test::Isolated(it) => it.skip,
        Test::Composable { tests, .. } => tests.iter().all(|t| t.skip),
    }
}
pub fn should_skip ( test : & Test ) -> bool { match test { Test :: Isolated ( it ) => it . skip , Test :: Composable { tests , .. } => tests . iter ( ) . all ( | t | t . skip ) , } }
If every step of a test is marked as `skip`, there's no need to run
anything.
If every step of a test is marked as ` skip ` there ' s no need to run anything .
test
&Test