Skip to content
Snippets Groups Projects
Commit aee535fb authored by Alper Akgun's avatar Alper Akgun :one:
Browse files

Merge branch 'docs-aajgun-recording-assignment-tracking-shared-example' into 'master'

Docs for recording and assignment tracking shared example

See merge request !66011
parents 3cacfeb6 f4ce8c95
No related branches found
No related tags found
1 merge request!66011Docs for recording and assignment tracking shared example
Pipeline #336181154 passed with warnings
Pipeline: CNG-mirror

#336194298

    ......@@ -513,6 +513,11 @@ expect(experiment(:example)).to track(:my_event, value: 1, property: '_property_
    experiment(:example, :variant_name, foo: :bar).track(:my_event, value: 1, property: '_property_')
    ```
    ### Recording and assignment tracking
    To test assignment tracking and the `record!` method, you can use or adopt the following
    shared example: [tracks assignment and records the subject](https://gitlab.com/gitlab-org/gitlab/blob/master/spec/support/shared_examples/lib/gitlab/experimentation_shared_examples.rb).
    ## Experiments in the client layer
    This is in flux as of GitLab 13.10, and can't be documented just yet.
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment