jaimegildesagredo / server-expects

Serverspec-like Expects matchers library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Server Expects

Latest version

Number of PyPI downloads

image

Server-Expects is a Serverpec-like matchers library for the Expects assertion library. It provides matchers for testing server infrastructure.

Installation

You can install the last stable release from PyPI using pip or easy_install.

$ pip install server-expects

Also you can install the latest sources from Github.

$ pip install -e git+git://github.com/jaimegildesagredo/server-expects.git#egg=server-expects

Usage

Just import the expect callable and the Server-Expects matchers and start writing assertions.

from expects import expect
from server_expects import *

expect('python').to(be_installed)

Matchers

TODO

Specs

To run the specs you should install the testing requirements and then run mamba.

$ python setup.py develop
$ pip install --upgrade -r test-requirements.txt
$ mamba

License

The Server-Expects is released under the Apache2 license.

About

Serverspec-like Expects matchers library

License:Other


Languages

Language:Python 71.1%Language:Shell 27.0%Language:Makefile 1.7%Language:Ruby 0.2%