pub enum RedClass {
Assertion,
Absent,
BuildError,
CollectionError,
Timeout,
NoTests,
Flaky,
Unclassified,
Passed,
}Expand description
What a red run of acceptance tests showed.
Only RedClass::Assertion and RedClass::Absent are red: a test was
collected and failed on an assertion, or the tests could not build only
because symbols the task is to introduce do not exist yet. Everything
else is not demonstrated.
Variants§
Assertion
A collected test failed on an assertion.
Absent
The only build or import errors name symbols that do not exist yet.
BuildError
Any other build error.
CollectionError
Tests errored at setup or collection.
Timeout
The run hit its deadline.
NoTests
Nothing was collected.
Flaky
Red once, not red when confirmed.
Unclassified
The output was not recognised.
Passed
The tests passed.
Implementations§
Trait Implementations§
impl Copy for RedClass
Source§impl<'de> Deserialize<'de> for RedClass
impl<'de> Deserialize<'de> for RedClass
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RedClass
Source§impl JsonSchema for RedClass
impl JsonSchema for RedClass
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for RedClass
Auto Trait Implementations§
impl Freeze for RedClass
impl RefUnwindSafe for RedClass
impl Send for RedClass
impl Sync for RedClass
impl Unpin for RedClass
impl UnsafeUnpin for RedClass
impl UnwindSafe for RedClass
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more