bazelruby / rules_ruby

Formerly canonical rules for ruby, that are about 2-3 years behind current Bazel. If they work for you great, but if not — please try the new rules ruby by Alex Radionov: https://github.com/bazel-contrib/rules_ruby
Apache License 2.0
99 stars 37 forks source link

Question about minitest and rails #136

Open jmaher409 opened 2 years ago

jmaher409 commented 2 years ago

Hello all. My team is currently trying to setup bazel rules ruby to run our rails minitest test suite. The ruby_test rule seems to expect to run tests with the ruby executable directly. Are there good examples or documentation on running rails app tests? We have tried to various methods but are running into issues getting minitest to load.

kigster commented 1 year ago

I am not sure what the issue is, but you are welcome to create a PR and clone one of the example repos that uses RSpec and replace it with minitest. Then we can see if we can fix the CI by adding whatever support is necessary for minitest.

You might also take a quick look at the Coinbase fork.

kigster commented 1 year ago

Looking for additional core maintainers: https://github.com/bazelruby/rules_ruby/discussions/146