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
In the Better Errors project, we run tests against:
With each major version of Rails and without Rails
With and without binding_of_caller
With and without haml
With Pry 9, 10, and 11.
On each major version of Ruby.
It's a massive matrix. A build takes 90-180 minutes. Some of these combinations are currently broken (or at least the tests are broken) and need some attention.
By extracting REPL::Pry into a separate gem, we can reduce the size of this matrix and add more test coverage for different versions of Pry and addon gems such as pry-backtrace without making the Better Errors test builds even worse.
At this time, there is no API for an external gem to cleanly inject itself into BE. Activating Pry support requires a line of code in the project which is called at project initialization. We need to be able to declare a plugin and allow it to register with BE at the right time in the lifecycle.
For backward compatibility, we need to still support the existing method of activating Pry support in BE. So the release of Better Errors that implements this would need to:
Support the existing activation method of calling BetterErrors.use_pry! and emit a deprecation notice if it's used.
Support the better_errors-pry method of activating itself as a plugin to Better Errors.
We might also want to look for the presence of Pry and emit a message at startup suggesting that better_errors-pry be installed.
The text was updated successfully, but these errors were encountered:
In the Better Errors project, we run tests against:
It's a massive matrix. A build takes 90-180 minutes. Some of these combinations are currently broken (or at least the tests are broken) and need some attention.
By extracting REPL::Pry into a separate gem, we can reduce the size of this matrix and add more test coverage for different versions of Pry and addon gems such as pry-backtrace without making the Better Errors test builds even worse.
At this time, there is no API for an external gem to cleanly inject itself into BE. Activating Pry support requires a line of code in the project which is called at project initialization. We need to be able to declare a plugin and allow it to register with BE at the right time in the lifecycle.
For backward compatibility, we need to still support the existing method of activating Pry support in BE. So the release of Better Errors that implements this would need to:
BetterErrors.use_pry!
and emit a deprecation notice if it's used.We might also want to look for the presence of Pry and emit a message at startup suggesting that better_errors-pry be installed.
The text was updated successfully, but these errors were encountered: