Robot Framework library to work with Couchbase.
Before installing robotframework-couchbaselibrary, you should have the following to be installed:
- Couchbase Server (http://couchbase.com/download)
- libcouchbase. version 2.8.0 or greater (Bundled in Windows installer)
- libcouchbase development files.
- Python development files
- A C compiler.
To install the library from PyPI, use this command:
pip install robotframework-couchbaselibrary
See keyword documentation for CouchbaseLibrary library on GitHub.
*** 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
Apache License 2.0