summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-12-20 19:03:10 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-12-20 19:35:59 +0800
commit12df7e2ad6a99bd5045eff179aa3c9ed960c85a7 (patch)
tree22fd9b22c582db2c04782bd241e7e536ad5e16df
parentfebb0b9a8014f5b480ff7baab1d189fce49210a5 (diff)
downloadgitlab-ce-docs-qa-extend-how-to-run-specific-test.tar.gz
Specify how we're utilizing rspec heredocs-qa-extend-how-to-run-specific-test
-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