Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2017-12-20 15:56:56 +0300
committerGrzegorz Bizon <grzegorz@gitlab.com>2017-12-20 15:56:56 +0300
commitcc8ff768d712cabf7311802cec026654f005b88b (patch)
tree0656033eeeb4a6c799ff2d5d411e20df531b97b9
parent0969fdffda4070173651e6e0f405ccd4c77436f0 (diff)
parent12df7e2ad6a99bd5045eff179aa3c9ed960c85a7 (diff)
Merge branch 'docs-qa-extend-how-to-run-specific-test' into 'master'
Specify how we're utilizing rspec for bin/qa See merge request gitlab-org/gitlab-ce!16040
-rw-r--r--qa/README.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/qa/README.md b/qa/README.md
index 1cfbbdd9d42..7f2dd39ff63 100644
--- a/qa/README.md
+++ b/qa/README.md
@@ -33,7 +33,14 @@ You can also supply specific tests to run as another parameter. For example, to
test the EE license specs, you can run:
```
-EE_LICENSE="<YOUR LICENSE KEY>" bin/qa Test::Instance http://localhost qa/ee
+EE_LICENSE="<YOUR LICENSE KEY>" bin/qa Test::Instance http://localhost qa/specs/features/ee
+```
+
+Since the arguments would be passed to `rspec`, you could use all `rspec`
+options there. For example, passing `--backtrace` and also line number:
+
+```
+bin/qa Test::Instance http://localhost qa/specs/features/login/standard_spec.rb:3 --backtrace
```
### Overriding the authenticated user