Skip to content

First class testing for other ORMs #415

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

ellnix
Copy link
Contributor

@ellnix ellnix commented Apr 4, 2025

Pull Request

Related issue

More progress toward #175 on top of #410

This PR changes the test structure in order to have testing parity between all ORMs. By the end all tests will run for each ORM with the same models. I'll write more about the rationale once I complete the full migration.

ellnix added 9 commits March 28, 2025 21:11
No special configuration here, a basic copy/paste of the example in
https://github.com/marketplace/actions/mongodb-in-github-actions
The bugfix on Mongoid is not released yet, but that should not matter
since there is no real reason to turn this back to after_destroy_commit.

The behavior is equivalent.
Intention is to allow testing multiple ORMs more easily, with equivalent
data.
Make all models in specs generic to allow them to be easily ported to
Mongoid and Sequel instead of being stuck on ActiveRecord only.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant