Ruby on Rails 8 · Testing

Run one test file

Run the tests in a single file.

bin/rails test test/models/article_test.rb

Official Ruby on Rails 8 documentation

More testing commands

All testing commands · Ruby on Rails 8 cheatsheet

Was this page helpful?