pub struct DebugAnalyzer { /* private fields */ }Expand description
Debug analyzer for test failure analysis
Implementations§
Source§impl DebugAnalyzer
impl DebugAnalyzer
Sourcepub fn with_config(config: IntelligentBehaviorConfig) -> Self
pub fn with_config(config: IntelligentBehaviorConfig) -> Self
Create a new debug analyzer with custom configuration
Sourcepub fn with_integrator(integrator: DebugContextIntegrator) -> Self
pub fn with_integrator(integrator: DebugContextIntegrator) -> Self
Create a new debug analyzer with context integrator
Sourcepub fn with_config_and_integrator(
config: IntelligentBehaviorConfig,
integrator: DebugContextIntegrator,
) -> Self
pub fn with_config_and_integrator( config: IntelligentBehaviorConfig, integrator: DebugContextIntegrator, ) -> Self
Create a new debug analyzer with config and integrator
Sourcepub async fn analyze(&self, request: &DebugRequest) -> Result<DebugResponse>
pub async fn analyze(&self, request: &DebugRequest) -> Result<DebugResponse>
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§
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