pub struct TestFixtures;Expand description
Test fixture for common scenarios
Implementations§
Source§impl TestFixtures
impl TestFixtures
Sourcepub async fn clean_repo_git() -> MockGitOperations
pub async fn clean_repo_git() -> MockGitOperations
Create a mock git operations that simulates a clean repository
Sourcepub async fn dirty_repo_git() -> MockGitOperations
pub async fn dirty_repo_git() -> MockGitOperations
Create a mock git operations that simulates a dirty repository
Sourcepub async fn successful_claude() -> MockClaudeClient
pub async fn successful_claude() -> MockClaudeClient
Create a mock Claude client that always succeeds
Sourcepub async fn rate_limited_claude() -> MockClaudeClient
pub async fn rate_limited_claude() -> MockClaudeClient
Create a mock Claude client that simulates rate limiting
Create a mock Claude client that is not installed
Auto Trait Implementations§
impl Freeze for TestFixtures
impl RefUnwindSafe for TestFixtures
impl Send for TestFixtures
impl Sync for TestFixtures
impl Unpin for TestFixtures
impl UnwindSafe for TestFixtures
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