typesense-ruby
typesense-ruby copied to clipboard
Suggestion: Add Docker Container for this Repo and CI Test Setup
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.
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!