
The highest tagged major version is
v2.
directory
Version:
v1.0.0-beta3
Opens a new window with list of versions in this module.
Published: Oct 15, 2019
License: Apache-2.0
Opens a new window with license information.
README
¶
Optimizely Go SDK Local FSC Testing
Setup
- Check the
GOPATH
env variable.
- Clone sdk repo under this path.
$GOPATH/src/github.com/optimizely/
- Open terminal and switch directory to the cloned sdk
$GOPATH/src/github.com/optimizely/go-sdk
.
- Run the following command to fetch dependencies:
go get
- Set DATAFILES_DIR='${Path to datafiles folder you want to use}' Environment variable.
- Create a folder named
features
in path $GOPATH/src/github.com/optimizely/go-sdk/tests/integration/
.
- Copy all feature files to this newly created folder.
- 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
¶
Click to show internal directories.
Click to hide internal directories.