Open
Description
Currently, when we need a DocHandle
in a third-party library / app's integration tests, we'd need to spin up an entire thread with Repo::run
, while also requiring us to provide our own Storage
implementation.
Perhaps test mocks could be provided, similar to tokio_test::io? (Probably not in the same way, as that is trait-based.)
For another reference, check out tonic
's mock example.
I'm sure neither of those patterns are directly applicable here, but it's something that could be improved here?
Metadata
Metadata
Assignees
Labels
No labels
Activity