pub struct QaWorkspace {
pub run_id: String,
pub root: PathBuf,
pub home: PathBuf,
pub data_dir: PathBuf,
pub evidence_dir: PathBuf,
pub env: BTreeMap<String, String>,
}Fields§
§run_id: String§root: PathBufEvidence side: lives under the cache root next to the app.
home: PathBufApp side: under the system temp dir. Apps started by launchd on macOS cannot write to external volumes, so everything the app touches (data dir, port file, live log) lives here and evidence is copied back.
data_dir: PathBuf§evidence_dir: PathBuf§env: BTreeMap<String, String>Environment that points an app at this workspace (profile isolation).
Implementations§
Source§impl QaWorkspace
impl QaWorkspace
Sourcepub fn scenario_dir(&self, name: &str) -> Result<PathBuf>
pub fn scenario_dir(&self, name: &str) -> Result<PathBuf>
A fresh per-scenario directory inside the isolated data dir.
Trait Implementations§
Source§impl Clone for QaWorkspace
impl Clone for QaWorkspace
Auto Trait Implementations§
impl Freeze for QaWorkspace
impl RefUnwindSafe for QaWorkspace
impl Send for QaWorkspace
impl Sync for QaWorkspace
impl Unpin for QaWorkspace
impl UnsafeUnpin for QaWorkspace
impl UnwindSafe for QaWorkspace
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