Skip to main content
Latest version Number of PyPI downloads https://secure.travis-ci.org/jaimegildesagredo/server-expects.svg?branch=master

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 -r test-requirements.txt
$ mamba

License

The Server-Expects is released under the Apache2 license.

Release history Release notifications | RSS feed

This release

0.1.0 This release

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page