integration/

directory
v1.0.0-beta3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2019 License: Apache-2.0

README

Optimizely Go SDK Local FSC Testing

Setup
  1. Check the GOPATH env variable.
  2. Clone sdk repo under this path. $GOPATH/src/github.com/optimizely/
  3. Open terminal and switch directory to the cloned sdk $GOPATH/src/github.com/optimizely/go-sdk.
  4. Run the following command to fetch dependencies:
    go get
  5. Set DATAFILES_DIR='${Path to datafiles folder you want to use}' Environment variable.
  6. Create a folder named features in path $GOPATH/src/github.com/optimizely/go-sdk/tests/integration/.
  7. Copy all feature files to this newly created folder.
  8. Run the following command to execute gherkin tests:
    go test -v ./tests/integration/
    To test with specific tags:
    go test -v ./tests/integration/ --godog.tags=FEATURE_ROLLOUT

For further instructions: https://golang.org/doc/code.html

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL