Skip to main content

poor man's integration testing

Project description

About toll

toll = test offline lightweight locally — poor man’s integration testing:

  • run the tests of multiple configured packages:
    • right one after another

    • stopping with the first package which has a broken test

This package is compatible with Python version 3.5.

Requirements

  • The packages for test have to be checked out and build beforehand.

  • The test runners of the packages have to be called with an identical call.

Usage

Installation

Install it as usual using pip:

$ pip install toll

Config file

You need an ini style config file. Example contents:

[packages]
my.package.one
my.package.two

[commands]
test = bin/py.test

The complete list of possible config file contents is in the documentation on https://pythonhosted.org/toll/.

Run it

Run it using:

$ toll config.ini

For other options see:

$ toll --help

Developing toll

Author:

Michael Howitz <icemac@gmx.net>

Online documentation:

https://pythonhosted.org/toll/

PyPI page:

https://pypi-hypernode.com/pypi/toll

Issues:

https://bitbucket.org/icemac/toll/issues

Source code:

https://bitbucket.org/icemac/toll

Current change log:

https://bitbucket.org/icemac/toll/raw/tip/CHANGES.rst

Run the tests

To run the tests install the test runner and call it:

$ python3.5 bootstrap.py
$ bin/buildout
$ bin/test

Change log for toll

0.1 (unreleased)

  • Initial release.

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page