tests/

directory
v0.0.0-...-71d9aaf Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2019 License: Apache-2.0

README

Tests for 2i

Status

Currently, it has framework utilities required for basic functional testcases. The utitilies are - KV data utilities (for SET, GET, DEL of KV), JSON data utilties (to load json from file, to scan json document), 2i API wrappers (Range, Lookup, Create 2i, Drop 2i, List indexes)

Todo

Need to modify the logic for computing expected scan results from JSON document

Usage

Tests can be run using "go test" command from /indexing/secondary/tests/functionaltests/ location

2i APIs and helper methods used in tests

Create 2i
Drop 2i
List indexes
Range
ResponseReader.GetEntries
client.NewClient
client.NewClusterClient
client.Remoteaddr
client.Inclusion
common.SystemConfig.SectionConfig
common.SecondaryKey
go-couchbase - Get, Set, Delete
n1ql - n1ql.ParseExpression

Directories

Path Synopsis
ci
scripts command
framework
Copyright (c) 2017 Couchbase, Inc.
Copyright (c) 2017 Couchbase, Inc.

Jump to

Keyboard shortcuts

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