Skip to main content

check

Function check 

Source
pub fn check(
    expect: &Expectations,
    observed: &Observation,
) -> Vec<AssertionFailure>
Expand description

Checks every expectation of an item against one observed run.

Returns every failure, not the first one: an item that got the command wrong usually got the events and the revision wrong too, and seeing all three is how you tell one broken behaviour from three.