Skip to content

Commit 5069fa9

Browse files
committed
📝 Documentation
1 parent 514e5a1 commit 5069fa9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

CONTRIBUTING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,18 @@ To run all tests
6363
bundle exec rake test
6464
```
6565

66+
To run a single test:
67+
68+
```bash
69+
bundle exec ruby -I test file/path/to/test.rb --name test_name_that_is_real
70+
```
71+
72+
Just swap out the example file path and test name, to be something like below:
73+
74+
```bash
75+
bundle exec ruby -I test test/functional/masq/sessions_controller_test.rb --name test_should_authenticate_with_password_and_yubico_otp
76+
```
77+
6678
## Lint It
6779

6880
Run all the default tasks, which includes running the gradually autocorrecting linter, `rubocop-gradual`.

0 commit comments

Comments
 (0)