You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rage supports Active Record 6.0+, and being fully compatible with all relevant Active Record versions is a major goal for the framework.
Yet, the biggest missing piece in our test suite is test cases against different Active Record versions. Probably, the best tool to implement such kind of tests would be Appraisal.
Ideally, we would have a separate test suite that would run independently of the main test suite and would allow us to test parts of the framework that are dependent on external gems against different versions of those gems.
Let's start with covering the following methods with tests:
I just opened a draft pull request so you can check if I'm on the right track. 🙏
Regarding this note:
Ideally, we would have a separate test suite that would run independently of the main test suite and would allow us to test parts of the framework that are dependent on external gems against different versions of those gems.
Does this mean you want a separate GitHub Action or Step to run these independently? Instead of changing line 36 from .github/workflows/main.yml to run with Appraisal, we would scope just the new tests from ActiveRecord. Is my assumption correct?
Description
Rage supports Active Record 6.0+, and being fully compatible with all relevant Active Record versions is a major goal for the framework.
Yet, the biggest missing piece in our test suite is test cases against different Active Record versions. Probably, the best tool to implement such kind of tests would be Appraisal.
Ideally, we would have a separate test suite that would run independently of the main test suite and would allow us to test parts of the framework that are dependent on external gems against different versions of those gems.
Let's start with covering the following methods with tests:
ActiveRecord::Base.connection_pool.with_connection
ActiveRecord::Base.connection_pool.connection
ActiveRecord::Base.connection_pool.release_connection
ActiveRecord::Base.connection_pool.active_connection?
Tips
The text was updated successfully, but these errors were encountered: