Add Async Document Store Mixin Tests to Avoid Duplicating Test Code in DocumentStore integrations
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
- https://github.com/deepset-ai/haystack-core-integrations/issues/2811
Good idea!
(@davidsbatista)
I can takeover this one
@davidsbatista @anakin87 If possible, can I work on this? I'm really interested in this project. I can do it perfectly
Hi, @davidsbatista @anakin87 Could you assign this bug to me, please? Thanks
Thanks to all for the initiative. I'm currently working on this for the sync tests. To avoid any possible conflicts, I will put this on hold until the sync Mixin tests for all document stores are in place. Afterwards, I will specify this issue in more detail.
Closing as all sub tasks are finished