Struct rtest::TestArguments
source · pub struct TestArguments {
pub module: Option<String>,
pub group: Option<String>,
pub cost: Option<u32>,
pub responsible: Option<String>,
pub optional: bool,
}
Expand description
TestArguments specifies every possible setting a test can have. This can be used to specify a responsible, set groups, or similar for a test
Fields§
§module: Option<String>
specifies the module your test lives in
group: Option<String>
only relevant for displaying, tests in one group will be displayed together
cost: Option<u32>
§responsible: Option<String>
§optional: bool
test is not necessary to be executed, but still might be executed. Missing execution does not cause a Failure. If it runs but then fails, it still counts as an failure
Trait Implementations§
source§impl Debug for TestArguments
impl Debug for TestArguments
source§impl Default for TestArguments
impl Default for TestArguments
source§fn default() -> TestArguments
fn default() -> TestArguments
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TestArguments
impl<'de> Deserialize<'de> for TestArguments
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<TestArguments, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<TestArguments, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for TestArguments
impl Serialize for TestArguments
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for TestArguments
impl RefUnwindSafe for TestArguments
impl Send for TestArguments
impl Sync for TestArguments
impl Unpin for TestArguments
impl UnwindSafe for TestArguments
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