pub struct DebugAnalyzer { /* private fields */ }Expand description
Debug analyzer for test failure analysis
Implementations§
Source§impl DebugAnalyzer
impl DebugAnalyzer
Sourcepub fn new() -> DebugAnalyzer
pub fn new() -> DebugAnalyzer
Create a new debug analyzer with default configuration
Sourcepub fn with_config(config: IntelligentBehaviorConfig) -> DebugAnalyzer
pub fn with_config(config: IntelligentBehaviorConfig) -> DebugAnalyzer
Create a new debug analyzer with custom configuration
Sourcepub fn with_integrator(integrator: DebugContextIntegrator) -> DebugAnalyzer
pub fn with_integrator(integrator: DebugContextIntegrator) -> DebugAnalyzer
Create a new debug analyzer with context integrator
Sourcepub fn with_config_and_integrator(
config: IntelligentBehaviorConfig,
integrator: DebugContextIntegrator,
) -> DebugAnalyzer
pub fn with_config_and_integrator( config: IntelligentBehaviorConfig, integrator: DebugContextIntegrator, ) -> DebugAnalyzer
Create a new debug analyzer with config and integrator
Sourcepub async fn analyze(
&self,
request: &DebugRequest,
) -> Result<DebugResponse, Error>
pub async fn analyze( &self, request: &DebugRequest, ) -> Result<DebugResponse, Error>
Analyze a test failure and suggest fixes
This method analyzes test failure logs and provides:
- Root cause identification
- Specific suggestions for fixing the issue
- Links to related mock configurations (personas, reality settings, contracts)
Trait Implementations§
Source§impl Default for DebugAnalyzer
impl Default for DebugAnalyzer
Source§fn default() -> DebugAnalyzer
fn default() -> DebugAnalyzer
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DebugAnalyzer
impl !RefUnwindSafe for DebugAnalyzer
impl Send for DebugAnalyzer
impl Sync for DebugAnalyzer
impl Unpin for DebugAnalyzer
impl UnsafeUnpin for DebugAnalyzer
impl !UnwindSafe for DebugAnalyzer
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more