Hi. I’m trying to start a new rails (8.1.1) project I can’t seem to be able to run any tests. I must be doing something wrong. I’m using rvm and ruby 3.3.3. This is how to replicate the issue:
gem install rails
rails new myapp
cd myapp
./bin/rails generate controller User create update
./bin/rails test
./bin/rails test:all
./bin/rails test:controllers
Each test command outputs the same:
Run options: --seed 39108
# Running:
Finished in 0.001038s, 0.0000 runs/s, 0.0000 assertions/s.
0 runs, 0 assertions, 0 failures, 0 errors, 0 skips
I can see that it creates test/controllers/user_controller_test.rb and there are some tests in it. After couple hours of struggling with the configuration I am still not able to figure out what is wrong. It appears neither test/test_helper.rb nor config/environments/test.rb are executed
I would expect `rails test` to work out of the box. Any help is greatly appreciated ![]()