Expand description
In-memory mock implementations of domain repository traits for unit testing. In-memory mock implementations of domain repository traits for unit testing.
These mocks store data in Vecs and HashMaps, requiring no filesystem access.
They implement the domain traits from ito-domain, allowing tests to exercise
business logic without touching disk.
Structs§
- Mock
Change Repository - In-memory change repository backed by
Vec<Change>andVec<ChangeSummary>. - Mock
Module Repository - In-memory module repository.
- Mock
Task Repository - In-memory task repository that returns pre-configured task parse results.
Functions§
- make_
change - Create a minimal
Changewith sensible defaults for testing. - make_
change_ summary - Create a minimal
ChangeSummaryfor testing. - make_
change_ with_ progress - Create a
Changewith a specific module and task progress. - make_
module - Create a minimal
Modulefor testing. - make_
tasks_ result - Create a minimal
TasksParseResultwith given progress.