pub enum RegressionReason {
NoStory,
NoScenarios {
story: String,
},
AcceptanceOff,
AuthorWroteNone,
AuthorFailed {
detail: String,
},
AlreadyPassing {
implemented_by: Option<ImplementedBy>,
},
NotRed {
red_class: RedClass,
},
TestsNotCollected,
PlanningWork,
StoryVerified,
DeferredToCheckpoint {
checkpoint: String,
},
Unrecorded,
}Expand description
Why a tick is regression-only.
Variants§
NoStory
The task belongs to no user story.
NoScenarios
Its story states no acceptance scenario.
AcceptanceOff
[acceptance] generate = false.
AuthorWroteNone
The test author returned no file.
AuthorFailed
The author’s answer could not be used.
AlreadyPassing
The acceptance tests passed before the attempt.
Fields
§
implemented_by: Option<ImplementedBy>The tick that made them pass; null when it could not be determined.
NotRed
They did not fail on an assertion or an absent symbol.
TestsNotCollected
The acceptance command collected no test.
PlanningWork
A planning task: design documents, judged by the checks alone.
StoryVerified
Its story’s checkpoint, with every scenario of the story verified by earlier ticks: nothing left to show.
DeferredToCheckpoint
A person moved its acceptance to its story’s checkpoint.
Unrecorded
A tick made before reasons were recorded (read side only).
Implementations§
Trait Implementations§
Source§impl Clone for RegressionReason
impl Clone for RegressionReason
Source§impl Debug for RegressionReason
impl Debug for RegressionReason
Source§impl<'de> Deserialize<'de> for RegressionReason
impl<'de> Deserialize<'de> for RegressionReason
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 RegressionReason
Source§impl JsonSchema for RegressionReason
impl JsonSchema for RegressionReason
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 moreSource§impl PartialEq for RegressionReason
impl PartialEq for RegressionReason
Source§impl Serialize for RegressionReason
impl Serialize for RegressionReason
impl StructuralPartialEq for RegressionReason
Auto Trait Implementations§
impl Freeze for RegressionReason
impl RefUnwindSafe for RegressionReason
impl Send for RegressionReason
impl Sync for RegressionReason
impl Unpin for RegressionReason
impl UnsafeUnpin for RegressionReason
impl UnwindSafe for RegressionReason
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