typesense-ruby icon indicating copy to clipboard operation
typesense-ruby copied to clipboard

Suggestion: Add Docker Container for this Repo and CI Test Setup

Open erimicel opened this issue 9 months ago • 1 comments

Currently, tests rely on mocked Typesense responses, which may not be reliable if the actual Typesense version has issues. To improve test reliability, we could:

  • Introduce a Docker container setup for running a real Typesense instance.
  • Update our CI pipeline to start a real Typesense container and run tests against it.

erimicel avatar Mar 02 '25 16:03 erimicel

Update our CI pipeline to start a real Typesense container and run tests against it.

This is already the case for the v28.0 features.

https://github.com/typesense/typesense-ruby/blob/master/.github%2Fworkflows%2Ftests.yml#L14-L27

Refactoring the rest of the tests to integration ones should be implemented as well. If you have set up any tests yourself, a PR would be appreciated!

tharropoulos avatar Mar 02 '25 16:03 tharropoulos