pub struct E2ETestChecklist {
pub wasm_executed: bool,
pub components_registered: bool,
pub console_checked: bool,
pub network_verified: bool,
pub error_paths_tested: bool,
pub notes: Vec<String>,
}Expand description
E2E Test Checklist for mandatory checks
Fields§
§wasm_executed: boolDid we actually execute WASM code?
components_registered: boolDid we verify component registration?
console_checked: boolDid we check for console errors?
network_verified: boolDid we verify network requests completed?
error_paths_tested: boolDid we test error recovery paths?
notes: Vec<String>Additional notes
Implementations§
Source§impl E2ETestChecklist
impl E2ETestChecklist
Sourcepub fn with_strict_mode(self, mode: WasmStrictMode) -> Self
pub fn with_strict_mode(self, mode: WasmStrictMode) -> Self
Configure with a strict mode
Sourcepub fn with_wasm_executed(self) -> Self
pub fn with_wasm_executed(self) -> Self
Mark WASM as executed
Sourcepub fn with_components_registered(self) -> Self
pub fn with_components_registered(self) -> Self
Mark components as registered
Sourcepub fn with_console_checked(self) -> Self
pub fn with_console_checked(self) -> Self
Mark console as checked
Sourcepub fn with_network_verified(self) -> Self
pub fn with_network_verified(self) -> Self
Mark network as verified
Sourcepub fn with_error_paths_tested(self) -> Self
pub fn with_error_paths_tested(self) -> Self
Mark error paths as tested
Sourcepub fn mark_wasm_executed(&mut self)
pub fn mark_wasm_executed(&mut self)
Mark WASM as executed (mutator version)
Sourcepub fn mark_components_registered(&mut self)
pub fn mark_components_registered(&mut self)
Mark components as registered (mutator version)
Sourcepub fn mark_console_checked(&mut self)
pub fn mark_console_checked(&mut self)
Mark console as checked (mutator version)
Sourcepub fn mark_network_verified(&mut self)
pub fn mark_network_verified(&mut self)
Mark network as verified (mutator version)
Sourcepub fn mark_error_paths_tested(&mut self)
pub fn mark_error_paths_tested(&mut self)
Mark error paths as tested (mutator version)
Sourcepub fn validate(&self) -> Result<(), ChecklistError>
pub fn validate(&self) -> Result<(), ChecklistError>
Sourcepub fn completion_percent(&self) -> f64
pub fn completion_percent(&self) -> f64
Get completion percentage
Trait Implementations§
Source§impl Clone for E2ETestChecklist
impl Clone for E2ETestChecklist
Source§fn clone(&self) -> E2ETestChecklist
fn clone(&self) -> E2ETestChecklist
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for E2ETestChecklist
impl Debug for E2ETestChecklist
Source§impl Default for E2ETestChecklist
impl Default for E2ETestChecklist
Source§fn default() -> E2ETestChecklist
fn default() -> E2ETestChecklist
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for E2ETestChecklist
impl RefUnwindSafe for E2ETestChecklist
impl Send for E2ETestChecklist
impl Sync for E2ETestChecklist
impl Unpin for E2ETestChecklist
impl UnsafeUnpin for E2ETestChecklist
impl UnwindSafe for E2ETestChecklist
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().