Metadata-Version: 2.4
Name: pytest-aioworkers
Version: 0.5.0
Summary: A plugin to test aioworkers project with pytest
Project-URL: GitHub, https://github.com/aioworkers/pytest-aioworkers
Project-URL: Homepage, https://github.com/aioworkers/pytest-aioworkers
Project-URL: Documentation, https://github.com/aioworkers/pytest-aioworkers#readme
Project-URL: Issues, https://github.com/aioworkers/pytest-aioworkers/issues
Project-URL: Source, https://github.com/aioworkers/pytest-aioworkers
Author-email: Alexander Malev <malev@somedev.ru>
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: aioworkers,pytest
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: AsyncIO
Classifier: Framework :: Pytest
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Testing
Classifier: Typing :: Typed
Requires-Python: >=3.9
Requires-Dist: aioworkers>=0.22
Requires-Dist: pytest>=8.3.4
Provides-Extra: aiohttp
Requires-Dist: pytest-aiohttp; extra == 'aiohttp'
Provides-Extra: asyncio
Requires-Dist: pytest-asyncio; extra == 'asyncio'
Provides-Extra: dev-lint
Requires-Dist: mypy==1.14.0; extra == 'dev-lint'
Requires-Dist: ruff==0.8.4; extra == 'dev-lint'
Provides-Extra: dev-test
Requires-Dist: aioworkers==0.28.0; extra == 'dev-test'
Requires-Dist: coverage[toml]==7.6.10; extra == 'dev-test'
Requires-Dist: pytest-asyncio==0.25.0; extra == 'dev-test'
Requires-Dist: pytest-mock==3.14.0; extra == 'dev-test'
Requires-Dist: pytest-timeout==2.3.1; extra == 'dev-test'
Requires-Dist: pytest==8.3.4; extra == 'dev-test'
Requires-Dist: pyyaml==6.0.2; extra == 'dev-test'
Description-Content-Type: text/x-rst

pytest-aioworkers
=================

.. image:: https://img.shields.io/pypi/v/pytest-aioworkers.svg
  :target: https://pypi.org/project/pytest-aioworkers

.. image:: https://github.com/aioworkers/pytest-aioworkers/workflows/Tests/badge.svg
  :target: https://github.com/aioworkers/pytest-aioworkers/actions?query=workflow%3ATests

.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v0.json
  :target: https://github.com/charliermarsh/ruff
  :alt: Code style: ruff

.. image:: https://img.shields.io/badge/types-Mypy-blue.svg
  :target: https://github.com/python/mypy
  :alt: Code style: Mypy

.. image:: https://readthedocs.org/projects/pytest-aioworkers/badge/?version=latest
  :target: https://github.com/aioworkers/pytest-aioworkers#readme
  :alt: Documentation Status

.. image:: https://img.shields.io/pypi/pyversions/pytest-aioworkers.svg
  :target: https://pypi.org/project/pytest-aioworkers
  :alt: Python versions

.. image:: https://img.shields.io/pypi/dm/pytest-aioworkers.svg
  :target: https://pypistats.org/packages/pytest-aioworkers

.. image:: https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg
  :alt: Hatch project
  :target: https://github.com/pypa/hatch

A plugin to test aioworkers projects with pytest



Features
--------

* fixtures: aioworkers, context, config_yaml


Requirements
------------

* pytest
* aioworkers


Installation
------------

You can install "pytest-aioworkers" via `pip`_ from `PyPI`_::

    $ pip install pytest-aioworkers[asyncio]


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

Check code:

.. code-block:: shell

    hatch run lint:all


Format code:

.. code-block:: shell

    hatch run lint:fmt


Run tests:

.. code-block:: shell

    hatch run pytest


Run tests with coverage:

.. code-block:: shell

    hatch run cov

License
-------

Distributed under the terms of the `Apache Software License 2.0`_ license, "pytest-aioworkers" is free and open source software


Issues
------

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

.. _`Apache Software License 2.0`: http://www.apache.org/licenses/LICENSE-2.0
.. _`file an issue`: https://github.com/aioworkers/pytest-aioworkers/issues
.. _`pytest`: https://github.com/pytest-dev/pytest
.. _`hatch`: https://hatch.pypa.io/latest/environment/#scripts
.. _`pip`: https://pypi.org/project/pip/
.. _`PyPI`: https://pypi.org/project
