Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
57f0fd9b
Commit
57f0fd9b
authored
Dec 09, 2020
by
Alper Akgun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs to manually force the current user to be in the experiment group
parent
a90b36fd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
doc/development/experiment_guide/index.md
doc/development/experiment_guide/index.md
+13
-0
No files found.
doc/development/experiment_guide/index.md
View file @
57f0fd9b
...
@@ -324,6 +324,19 @@ For visibility, please also share any commands run against production in the `#s
...
@@ -324,6 +324,19 @@ For visibility, please also share any commands run against production in the `#s
/chatops run feature delete signup_flow_experiment_percentage
/chatops run feature delete signup_flow_experiment_percentage
```
```
### Manually force the current user to be in the experiment group
You may force the application to put your current user in the experiment group. To do so
add a query string parameter to the path where the experiment runs. If you do so,
the experiment will work only for this request and won't work after following links or submitting forms.
For example, to forcibly enable the
`EXPERIMENT_KEY`
experiment, add
`force_experiment=EXPERIMENT_KEY`
to the URL:
```
shell
https://gitlab.com/<EXPERIMENT_ENTRY_URL>?force_experiment
=
<EXPERIMENT_KEY>
```
### Testing and test helpers
### Testing and test helpers
#### RSpec
#### RSpec
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment