Skip to content

Add Async Document Store Mixin Tests to Avoid Duplicating Test Code in DocumentStore integrations #10799

@maxdswain

Description

@maxdswain

Is your feature request related to a problem? Please describe.
I found it useful when working on a recent PR to use the mixin tests added in #10477. It saves time rewriting tests that are largely the same between DocumentStore integrations and it would be good to have equivalent generic tests for async methods as well.

Describe the solution you'd like
Write generic tests in haystack.testing.document_store based off of tests from DocumentStore integrations such as elasticsearch and chromadb which has comprehensive async tests.

Describe alternatives you've considered
Writing various async tests for each DocumentStore integration.

Additional context

Metadata

Metadata

Assignees

Labels

P1High priority, add to the next sprint

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions