pub struct Engine { /* private fields */ }Implementations§
Source§impl Engine
impl Engine
pub fn new(pal: PalHandle) -> Self
pub fn run_script(&self, path: impl Into<FilePath>) -> OcelotResult<()>
pub fn discover_tests( &self, path: impl Into<FilePath>, ) -> OcelotResult<Vec<DiscoveredTest>>
pub fn run_test( &self, path: impl Into<FilePath>, test_name: &str, ) -> OcelotResult<()>
pub fn run_tests( &self, path: impl Into<FilePath>, ) -> OcelotResult<TestRunSummary>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Engine
impl !UnwindSafe for Engine
impl Freeze for Engine
impl Send for Engine
impl Sync for Engine
impl Unpin for Engine
impl UnsafeUnpin for Engine
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