Skip to content

concurrently execute test cases with multi-thread, multi-process and gevent

License

Notifications You must be signed in to change notification settings

abhisheksr8/pytest-concurrent

 
 

Repository files navigation

pytest-concurrent

See package version on PYPI See Build Status on Travis CI See Build Status on AppVeyor Join the chat at https://gitter.im/pytest-concurrent/Lobby

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

  • Python2 version [2.7.*]
  • Python3 version [3.4+]
  • 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.

About

concurrently execute test cases with multi-thread, multi-process and gevent

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%