pub struct DeviceSuite {
pub crate_dir: PathBuf,
pub test_target: String,
pub cargo_args: Vec<String>,
pub program: String,
}Expand description
How to invoke the device-side test crate. One per suite, cloned into each scenario.
Fields§
§crate_dir: PathBufDirectory of the firmware crate whose tests run on-target.
test_target: StringTest target within that crate: cargo test --test <this>.
cargo_args: Vec<String>Extra cargo args, e.g. ["--release", "--offline"]. Empty by default.
program: StringProgram to invoke; “cargo” unless overridden (unit tests use this).
Implementations§
Source§impl DeviceSuite
impl DeviceSuite
Trait Implementations§
Source§impl Clone for DeviceSuite
impl Clone for DeviceSuite
Source§fn clone(&self) -> DeviceSuite
fn clone(&self) -> DeviceSuite
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 moreAuto Trait Implementations§
impl Freeze for DeviceSuite
impl RefUnwindSafe for DeviceSuite
impl Send for DeviceSuite
impl Sync for DeviceSuite
impl Unpin for DeviceSuite
impl UnsafeUnpin for DeviceSuite
impl UnwindSafe for DeviceSuite
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