# Not able to run tests

**URL:** <https://discuss.rubyonrails.org/t/not-able-to-run-tests/90084>\
**Category:** rubyonrails-talk\
**Created:** [January 6, 2026, 6:05pm UTC](https://discuss.rubyonrails.org/t/not-able-to-run-tests/90084 "2026-01-06T18:05:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaciejWas](https://sea2.discourse-cdn.com/rubyonrails/user_avatar/discuss.rubyonrails.org/maciejwas/32/13908_2.png) [@MaciejWas](https://discuss.rubyonrails.org/u/MaciejWas)\
**Post date:** [January 6, 2026, 6:05pm UTC](https://discuss.rubyonrails.org/t/not-able-to-run-tests/90084/1 "2026-01-06T18:05:38Z")

</div>

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:

```ruby
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:

```ruby
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 🙂

---

<div class="post-metadata">

**Author:** ![MaciejWas](https://sea2.discourse-cdn.com/rubyonrails/user_avatar/discuss.rubyonrails.org/maciejwas/32/13908_2.png) [@MaciejWas](https://discuss.rubyonrails.org/u/MaciejWas)\
**Post date:** [January 7, 2026, 7:24am UTC](https://discuss.rubyonrails.org/t/not-able-to-run-tests/90084/2 "2026-01-07T07:24:19Z")

</div>

Sorry! This is an exact duplicate of [Tests in new project won’t execute. Advice on debugging further](https://discuss.rubyonrails.org/t/tests-in-new-project-wont-execute-advice-on-debugging-further/90039). A suggested way to resolve it is described in [this github issue](https://github.com/rails/rails/issues/56406#issuecomment-3686824808)
