pub struct OracleView {Show 19 fields
pub req: String,
pub title: String,
pub scenarios: Vec<ScenarioRef>,
pub state: OracleState,
pub frozen_on: Option<String>,
pub frozen_by: Option<String>,
pub frozen_at: Option<u64>,
pub tests: Vec<OracleTest>,
pub discarded: Vec<OracleDiscarded>,
pub rejected: Vec<OracleRejected>,
pub uncovered: Vec<String>,
pub untestable: Vec<Untestable>,
pub ambiguities: Vec<Ambiguity>,
pub held_out: HeldOutSummary,
pub strength_target: Option<u8>,
pub calls: u8,
pub ambiguity_check: bool,
pub manifest_sha256: Option<String>,
pub error: Option<String>,
}Expand description
One requirement’s oracle in the review: everything the Tests card shows.
Fields§
§req: StringThe requirement (US1).
title: StringIts title.
scenarios: Vec<ScenarioRef>Its scenarios: id and words.
state: OracleStateWhere it is.
frozen_on: Option<String>For lapsed: the wording it was frozen on.
frozen_by: Option<String>Who froze it, when frozen.
frozen_at: Option<u64>When (Unix seconds).
tests: Vec<OracleTest>The kept tests.
discarded: Vec<OracleDiscarded>The tests not kept, and why.
rejected: Vec<OracleRejected>The tests the person rejected.
uncovered: Vec<String>Scenarios no red kept test covers.
untestable: Vec<Untestable>Scenarios an author found untestable, with why.
ambiguities: Vec<Ambiguity>Readings that disagree.
held_out: HeldOutSummaryThe held-out set: count and digest only.
strength_target: Option<u8>[acceptance] min_strength (0–100), None when none is set.
calls: u8The author calls Write Tests makes ([review] oracle_samples).
ambiguity_check: boolWith one call there is nothing to compare.
manifest_sha256: Option<String>The visible set’s manifest digest, when tests are written.
error: Option<String>Why writing failed, or why it cannot be written here.
Implementations§
Source§impl OracleView
impl OracleView
Trait Implementations§
Source§impl Clone for OracleView
impl Clone for OracleView
Source§impl Debug for OracleView
impl Debug for OracleView
Source§impl<'de> Deserialize<'de> for OracleView
impl<'de> Deserialize<'de> for OracleView
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 OracleView
Source§impl JsonSchema for OracleView
impl JsonSchema for OracleView
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 OracleView
impl PartialEq for OracleView
Source§impl Serialize for OracleView
impl Serialize for OracleView
impl StructuralPartialEq for OracleView
Auto Trait Implementations§
impl Freeze for OracleView
impl RefUnwindSafe for OracleView
impl Send for OracleView
impl Sync for OracleView
impl Unpin for OracleView
impl UnsafeUnpin for OracleView
impl UnwindSafe for OracleView
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