Skip to content

Commit a48b2a6

Browse files
authored
Update docs for running tests (#375)
1 parent 23edfb1 commit a48b2a6

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,14 @@ gem "ruby-lsp-rails", github: "USERNAME/ruby-lsp-rails", branch: "your_branch"
2626

2727
### Running the test suite
2828

29-
The test suite can be executed by running
29+
To set up the database for the dummy Rails app, and run the full test suite:
3030

3131
```shell
32-
bin/rails test
32+
bundle exec rake
33+
```
34+
35+
Tests are written as `ActiveSupport::TestCase` tests, so an individual test can be run with:
36+
37+
```shell
38+
bin/rails test test/my_test.rb
3339
```

0 commit comments

Comments
 (0)