This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Tool to cause tests to fail fast when the wrong environment is used to run them.

Project Description
HitchEnvironment
================

HitchEnvironment is a plugin for the Hitch testing framework that lets you
describe your environment and verify that it correct.

It is supposed to provide some measure of safety for tests that might pass on,
for example, a 64 bit machine but fail on a 32 bit machine, by making
the environment a test runs on declared explicitly.

It is required by HitchServe_ to run, requiring you to specify your
environment.

Currently, it lets you describe the following:

* Platform (linux2, win32, cygwin, darwin, os2, os2emx, riscos, atheos)
* System bits (32 or 64)
* Access to internet (True or False)



Use with Hitch
==============

Install like so::

$ hitch install hitchenvironment


.. code-block:: python

>>> import hitchenvironment
>>> hitchenvironment.class_definition()
hitchenvironment.Environment(platform="linux2", systembits=64, requires_internet_access=True)

>>> hitchenvironment.Environment(platform="linux2", systembits=64, requires_internet_access=True).match()



See this plugin in action at the DjangoRemindMe_ project.


.. _HitchServe: https://github.com/hitchtest/hitchserve
.. _DjangoRemindmMe: https://github.com/hitchtest/django-remindme
Release History

Release History

This version
History Node

0.2

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
hitchenvironment-0.2.tar.gz (2.7 kB) Copy SHA256 Checksum SHA256 Source Jun 21, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting