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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file haas-0.9.0.tar.gz.

File metadata

  • Download URL: haas-0.9.0.tar.gz
  • Upload date:
  • Size: 51.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0rc2

File hashes

Hashes for haas-0.9.0.tar.gz
Algorithm Hash digest
SHA256 7ee7b7e62c6a6d2a9d36d0e2615a50896036ad4c25b5dc989f60c802857858c9
MD5 822feff6fe55582486a5cb6a3a9b0208
BLAKE2b-256 5e93fa7c954152260d38179f7713d43687369497cade4a37e368521c7177fd7d

See more details on using hashes here.

File details

Details for the file haas-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: haas-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 67.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0rc2

File hashes

Hashes for haas-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef6e72ef2320a54158e0d214e18879a721f5a6c8bb2965f18dfadd32b816dd97
MD5 7db5dce8ef8e603d20d74f5e89f7ae03
BLAKE2b-256 5ae92990f4bf6d5c7d88bff8e2f3d22948a600ba1bd1ef4c699327177c5514f1

See more details on using hashes here.

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