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)

  • … ?

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.9.0.tar.gz (51.8 kB view hashes)

Uploaded Source

Built Distribution

haas-0.9.0-py3-none-any.whl (67.9 kB view hashes)

Uploaded 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