Skip to content

Conversation

vburzynski
Copy link
Contributor

  • adds the debug gem
    • to make it easier to set breakpoints via an invocation of debugger
  • marks the slowest specs with :slow
    • use bundle exec rspec --tag '~slow' to skip slow tests
    • use bundle exec rspec --profile to see slowest tests
    • this makes it possible to run the bulk of the test suite in roughly 1 second as opposed to roughly 5 seconds
    • namely ./spec/acceptance/sequence_setting_spec.rb:309 alone was taking up 61% of the time to run the entire suite (3.12 seconds out of the 5.09 seconds). It seems like a useful test to retain, but is not critical to run while developing other features.

@vburzynski
Copy link
Contributor Author

😅 ah jruby and truffleruby don't like the addition of debug

@vburzynski
Copy link
Contributor Author

ok, even though conditionally using add_development_dependency works in the gemspec... It feels off. Maybe it's better to keep the bring-your-own-debugger approach for now rather than add the convenience of putting one in as a dev dependency.

I'll open a new PR for just marking :slow specs

@vburzynski vburzynski closed this Oct 3, 2025
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