Skip to content

peterservice-rnd/robotframework-couchbaselibrary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robot Framework Couchbase Library

Build Status

Short Description

Robot Framework library to work with Couchbase.

Installation

Before installing robotframework-couchbaselibrary, you should have the following to be installed:

To install the library from PyPI, use this command:

pip install robotframework-couchbaselibrary

Documentation

See keyword documentation for CouchbaseLibrary library on GitHub.

Example

*** Settings ***
Library           CouchbaseLibrary
Test Setup        Connect To Couchbase
Test Teardown     Close All Couchbase Bucket Connections

*** Test Cases ***
View Document In Bucket
    Switch Couchbase Bucket Connection    bucket1
    View Document By Key    key=1C1#000
    Switch Couchbase Connection     bucket2
    View Document By Key    key=1C1#000

*** Keywords ***
Connect To Couchbase
    Connect To Couchbase Bucket    my_host_name    8091    bucket_name    password    alias=bucket1
    Connect To Couchbase Bucket    my_host_name    8091    bucket_name    password    alias=bucket2

License

Apache License 2.0