Skip to main content

Extensible Python Test Runner

Project description

Wheel Status Build status Coverage status

haas is a Python test runner that is backward-compatible with Python’s built-in unittest Test Cases, but supports more advanced features, such as project-specific plugins.

Features

  • Runs unittest.TestCase based tests!

  • Plugin system, based on stevedore.

    • Still subject to change and revision to clean the plugin APIs.

    • Plugins for whole-test-run environment configuration (run before any client-code is imported).

    • Plugins for test result output formatting.

    • Plugins for test runner scheme (e.g. parallel runner)

  • Generic test result collection, presentation & output handled by plugins.

  • (Very) Basic parallel test run support.

Missing (unittest) Features

  • Does not support the unittest.load_tests protocol.

  • Does not support subtests.

Future Features

  • Per-project config file

  • Improve parallel test runner to allow conditional splitting of tests, or allow tests to be run in the main process.

  • Improve plugin system

  • More result output plugins/options (xunit, result summary)

  • … ?

Project details


Download files

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

Source Distribution

haas-0.5.0.tar.gz (20.5 kB view hashes)

Uploaded Source

Built Distribution

haas-0.5.0-py2.py3-none-any.whl (32.0 kB view hashes)

Uploaded Python 2 Python 3

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