Ruby on Rails 8 · Testing

Run one test

Run the test that starts on line 12 of a file.

bin/rails test test/models/article_test.rb:12

Official Ruby on Rails 8 documentation

More testing commands

All testing commands · Ruby on Rails 8 cheatsheet

Was this page helpful?