pub struct AllureLifecycle { /* private fields */ }Implementations§
Source§impl AllureLifecycle
impl AllureLifecycle
pub fn start_test_case(&self, params: impl Into<StartTestCaseParams>)
pub fn current_test_uuid(&self) -> Option<String>
pub fn stop_test_case(&self, status: Status, details: Option<StatusDetails>)
pub fn update_test_case<F>(&self, update: F)where
F: FnOnce(&mut TestResult),
pub fn set_test_case_id(&self, test_case_id: impl Into<String>)
pub fn add_label(&self, name: impl Into<String>, value: impl Into<String>)
pub fn add_link( &self, url: impl Into<String>, name: Option<String>, link_type: Option<String>, )
pub fn add_parameter(&self, name: impl Into<String>, value: impl Into<String>)
pub fn start_scope(&self, name: Option<String>) -> String
pub fn link_scope_to_test(&self, scope_uuid: &str, test_uuid: &str)
pub fn stop_scope(&self, scope_uuid: &str)
pub fn write_scope(&self, scope_uuid: &str)
pub fn start_before_fixture(&self, scope_uuid: &str, name: impl Into<String>)
pub fn stop_before_fixture( &self, scope_uuid: &str, status: Status, details: Option<StatusDetails>, )
pub fn start_after_fixture(&self, scope_uuid: &str, name: impl Into<String>)
pub fn stop_after_fixture( &self, scope_uuid: &str, status: Status, details: Option<StatusDetails>, )
pub fn add_attachment( &self, name: impl Into<String>, content_type: impl Into<String>, bytes: &[u8], )
pub fn start_step(&self, name: impl Into<String>)
pub fn start_step_at( &self, name: impl Into<String>, timestamp: Option<i64>, ) -> i64
pub fn stop_step(&self, status: Status, details: Option<StatusDetails>)
pub fn stop_step_at( &self, timestamp: Option<i64>, status: Status, details: Option<StatusDetails>, )
pub fn set_current_step_display_name(&self, name: impl Into<String>)
pub fn add_current_step_parameter( &self, name: impl Into<String>, value: impl Into<String>, )
Trait Implementations§
Source§impl Clone for AllureLifecycle
impl Clone for AllureLifecycle
Source§fn clone(&self) -> AllureLifecycle
fn clone(&self) -> AllureLifecycle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AllureLifecycle
impl RefUnwindSafe for AllureLifecycle
impl Send for AllureLifecycle
impl Sync for AllureLifecycle
impl Unpin for AllureLifecycle
impl UnsafeUnpin for AllureLifecycle
impl UnwindSafe for AllureLifecycle
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