Skip to main content

The Common Automation Framework Engine

Project description

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# See the License for the specific language governing permissions and
# limitations under the License.

Description: OpenCafe

.. image::

.. image::

When writing automated test sutes, there are some things that should
"just work". Problems like managing test data, logging, and results are
things that shouldn't have to be re-invented for every test project you work
on. OpenCafe aims to address that problem by providing solutions for the
commonly occuring challenges in the development and operation of functional
and end-to-end test suites.


- Common sense conventions for test data and log management
- Per test run and per test logs and results
- Reference drivers for performing non-UI testing including HTTP, SSH,
and WinRM
- Design patterns for building test clients for RESTful API applications
- Plugin system to allow for further customization


Core package

From PyPI (recommended):


$ pip install opencafe

From source:


$ git clone
$ cd opencafe
$ pip install .

Post-install Configuration

Post-install, the ``cafe-config`` cli tool will become available. It is used
for installing plugins and initializing OpenCafe's default directory

Running the ``cafe-config init`` command will create the default OpenCafe
directory structure in a directory named ``.opencafe``. This directory will
be located in either the current user's home directory or in the root of the
virtual environment you currently have active. This directory contains the
``/configs`` directory which stores configuration data, the ``/logs``
directory which holds the logging output from all tests executed, and the
``engine.config`` file, which sets the base test repository and allows the
user to override the default directories for logging and configuration.


OpenCafe uses a plugin system to allow for core functionality to be extended
or for additional capabilities to be added. Plugins are essentially Python
packages, which may have their own Python dependencies. This design allows
implementors to only install dependencies for the functionality that they
intend to use, as the additional dependencies are installed at the same time
as the plugin.

The ``cafe-config plugins`` command is used to list and install plugins.



$ cafe-config plugins list
* Available Plugins
... elasticsearch
... http
... mongo
... pathos_multiprocess
... rsyslog
... skip_on_issue
... soap
... ssh
... sshv2
... subunit
... winrm

$ cafe-config plugins install http
* Installing Plugins
... http


More in-depth documentation about the OpenCafe framework is located at

How to Contribute

Contributions are always welcome. The file contains further
guidance on submitting changes to this project and the review process that
we follow.

Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: Other/Proprietary License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
opencafe-0.3.5-py2.py3-none-any.whl (161.4 kB) Copy SHA256 hash SHA256 Wheel py2.py3
opencafe-0.3.5.tar.gz (92.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page