Giter Club home page Giter Club logo

sequoia's Introduction

sequoia

Scalable testing with docker

Install Docker

Install Go (1.7+)

Build

cd $GOPATH/src/github.com/couchbaselabs/
git clone https://github.com/couchbaselabs/sequoia.git
cd sequoia
go mod init
go mod tidy
go build -o sequoia

Getting Started

From the command-line:

# run simple test
./sequoia

# override the default test and scope
./sequoia -scope tests/simple/scope_medium.yml -test tests/simple/test_views.yml

Running with a docker network (EXPERIMENTAL)

./sequoia -scope tests/simple/scope_medium.yml -test tests/simple/test_views.yml --network cbl

Refer to Test Syntax for more information about how to build out your test and scopes.

Client

Sequoia works by running containers that apply load to couchbase servers. These containers are running on docker specified by the client in your config file. Depending on your docker install you will need to use http(s) and specify port. It's recommended to run over a tcp port.

# config.yml
...
client:  https://192.168.99.100:2376

Or on server without https and daemon running on port 2375

# config.yml
...
client:  http://172.23.97.124:2375

Providers

Providers help decouple test and provisioning from the mechanisms that provide couchbase resources so that the same scope can present an identical environment to different tests. You can change your provider via the config file.

# config.yml
...
provider: docker  # dev, file

Read More about Providers Here

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.