Skip to main content

Concurrently execute test cases with multithread, multiprocess and gevent

Project description

See Build Status on Travis CI See Build Status on AppVeyor

Concurrently execute pytest testing with multi-thread, multi-process and gevent


This Pytest plugin was generated with Cookiecutter along with @hackebrot’s Cookiecutter-pytest-plugin template.

Features

  • Testing concurrently with pytest, using one of the three modes
    • Multiprocess (–concmode=mproc)

    • Multithread (–concmode=mthread)

    • Asynchronous Network with gevent (–concmode=asyncnet)

  • The ability to designate the amount of work to be used for testing

  • The ability to put your tests into separate groups

Requirements

  • Python version [2.7 +]

  • Python3 version [3.3 +]

  • Make sure you have the latest version of pytest installed for your environment

Installation

You can install “pytest-concurrent” via pip from PyPI:

$ pip install pytest-concurrent

Usage

  • Use this plugin by running pytest normally and use –concmode [mode name]

  • [mode name] should be one of the following (mproc, mthread, or asyncnet)

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the MIT license, “pytest-concurrent” is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pytest_concurrent-0.1.2-py2.py3-none-any.whl (8.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pytest_concurrent-0.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_concurrent-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 75f284fc09649379be7a5f93f5f1dce486b02f827393d89f187c3dbffee16d2e
MD5 03b02f69bc16f165740fd9268448b84f
BLAKE2b-256 e10754c73d89ca0ef155ee650d3656f4d883cb56f64cac57b71655640f04681d

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