pub struct PythonAdapter;Implementations§
Source§impl PythonAdapter
impl PythonAdapter
Trait Implementations§
Source§impl Default for PythonAdapter
impl Default for PythonAdapter
Source§impl TestAdapter for PythonAdapter
impl TestAdapter for PythonAdapter
Source§fn check_runner(&self) -> Option<String>
fn check_runner(&self) -> Option<String>
Check if the required test runner binary is available on PATH
Source§fn detect(&self, project_dir: &Path) -> Option<DetectionResult>
fn detect(&self, project_dir: &Path) -> Option<DetectionResult>
Check if this adapter can handle the project at the given path
Source§fn build_command(
&self,
project_dir: &Path,
extra_args: &[String],
) -> Result<Command>
fn build_command( &self, project_dir: &Path, extra_args: &[String], ) -> Result<Command>
Build the command to run tests
Source§fn filter_args(&self, pattern: &str) -> Vec<String>
fn filter_args(&self, pattern: &str) -> Vec<String>
Return framework-specific CLI arguments to filter tests by pattern. Read more
Source§fn parse_output(
&self,
stdout: &str,
stderr: &str,
exit_code: i32,
) -> TestRunResult
fn parse_output( &self, stdout: &str, stderr: &str, exit_code: i32, ) -> TestRunResult
Parse stdout/stderr from the test runner into structured results
Auto Trait Implementations§
impl Freeze for PythonAdapter
impl RefUnwindSafe for PythonAdapter
impl Send for PythonAdapter
impl Sync for PythonAdapter
impl Unpin for PythonAdapter
impl UnsafeUnpin for PythonAdapter
impl UnwindSafe for PythonAdapter
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