Run single Rails test
Snippet
Yeah, kitt finished writing this at 14:02 on 21 September 2023
Run a single Rails test in a test file by including the test file (which will run all the tests) and -n
with the test name prefixed by test_
and having underscores for spaces for the specific test name
# for the test titled: test 'submitting review' rails test test/models/submission_review_test.rb -n test_submitting_review
Add new comment