ruby-concurrency / concurrent-ruby

Modern concurrency tools including agents, futures, promises, thread pools, supervisors, and more. Inspired by Erlang, Clojure, Scala, Go, Java, JavaScript, and classic concurrency patterns.
https://ruby-concurrency.github.io/concurrent-ruby/
Other
5.68k stars 418 forks source link

Run each spec file in a process to detect missing requires #980

Closed eregon closed 1 year ago

eregon commented 1 year ago

On top of https://github.com/ruby-concurrency/concurrent-ruby/pull/982

Notes: I didn't find a builtin RSpec way to run each spec in a separate process. Probably we make our own rake task for that. Locally, can use https://stackoverflow.com/questions/39902641/run-each-rspec-spec-file-individually or for f in spec/**/*_spec.rb; do; bundle exec rspec $f || break; done

TODO: