# HG changeset patch # User Balasankar C <balasankar@gitlab.com> # Date 1487232269 -19800 # Thu Feb 16 13:34:29 2017 +0530 # Node ID cb217e1711cbe9d8b2252bd1adbb70bf934c0a50 # Parent d9fcd8556fea50e81aae9772db6419638674f7d6 Add documentation regarding running tests diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -76,6 +76,12 @@ writing specs can be skipped. However, an issue to implement the tests **must be** created and assigned to the person who originally wrote the code. +To run tests, execute the following command (you may have to run `bundle install` before running it) + +``` +bundle exec rspec +``` + ### Merge Request Guidelines If you are working on a new feature or an issue which doesn't have an entry on @@ -97,3 +103,5 @@ 4. Documentation explaining the change 5. If Merge Request introduces change in user facing configuration, update to [gitlab.rb template](files/gitlab-config-template/gitlab.rb.template) 6. Changelog entry to inform about the change, if necessary. + +**`Note:`** CI jobs that run the tests are restricted to the [original omnibus-gitlab repository](https://gitlab.com/gitlab-org/omnibus-gitlab) and hence, they will not be run on its forks. Contributors who develop on their own forks should configure the CI jobs (refer `.gitlab-ci.yml` file for details) themselves.