An open API service indexing awesome lists of open source software.

https://github.com/peterservice-rnd/robotframework-couchbaselibrary

Robot Framework library to work with Couchbase
https://github.com/peterservice-rnd/robotframework-couchbaselibrary

autotesting couchbase library python robotframework

Last synced: 3 months ago
JSON representation

Robot Framework library to work with Couchbase

Awesome Lists containing this project

README

        

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:

- 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

Documentation
-------------

See keyword documentation for CouchbaseLibrary library on `GitHub`_.

Example
-------

.. code:: robotframework

*** 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

.. _Robot Framework: http://www.robotframework.org
.. _libcouchbase: http://developer.couchbase.com/documentation/server/4.5/sdk/c/start-using-sdk.html
.. _GitHub: https://github.com/peterservice-rnd/robotframework-cassandracqllibrary/tree/master/docs

.. |Build Status| image:: https://travis-ci.org/peterservice-rnd/robotframework-couchbaselibrary.svg?branch=master
:target: https://travis-ci.org/peterservice-rnd/robotframework-couchbaselibrary