pub struct RunTestsSyncRequest {
pub tests: Option<Vec<SyncTestItem>>,
pub max_failed_tests: Option<i32>,
pub skip_code_coverage: Option<bool>,
}Expand description
Request for running tests synchronously.
The tests field is an array of SyncTestItem objects containing
className and optional testMethods. Only one test class is allowed
per synchronous request.
Fields§
§tests: Option<Vec<SyncTestItem>>Test class descriptors to run.
max_failed_tests: Option<i32>Maximum number of failed tests before stopping (-1 for no limit).
skip_code_coverage: Option<bool>Whether to skip code coverage calculation.
Trait Implementations§
Source§impl Clone for RunTestsSyncRequest
impl Clone for RunTestsSyncRequest
Source§fn clone(&self) -> RunTestsSyncRequest
fn clone(&self) -> RunTestsSyncRequest
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 moreSource§impl Debug for RunTestsSyncRequest
impl Debug for RunTestsSyncRequest
Source§impl Default for RunTestsSyncRequest
impl Default for RunTestsSyncRequest
Source§fn default() -> RunTestsSyncRequest
fn default() -> RunTestsSyncRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RunTestsSyncRequest
impl<'de> Deserialize<'de> for RunTestsSyncRequest
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
Auto Trait Implementations§
impl Freeze for RunTestsSyncRequest
impl RefUnwindSafe for RunTestsSyncRequest
impl Send for RunTestsSyncRequest
impl Sync for RunTestsSyncRequest
impl Unpin for RunTestsSyncRequest
impl UnwindSafe for RunTestsSyncRequest
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