Commit 6fa67ebd authored by Stan Hu's avatar Stan Hu

Merge branch 'update-testing-documentation' into 'master'

Document how to run rspec tests

See merge request gitlab-org/gitlab-ce!23780
parents a9be222f 8b7aa1e4
......@@ -19,6 +19,16 @@ Here are some things to keep in mind regarding test performance:
## RSpec
To run rspec tests:
```sh
# run all tests
bundle exec rspec
# run test for path
bundle exec rspec spec/[path]/[to]/[spec].rb
```
### General guidelines
- Use a single, top-level `describe ClassName` block.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment