Skip to content

aioworkers/pytest-aioworkers

Repository files navigation

pytest-aioworkers

Coverage Code style: ruff Code style: black Code style: Mypy Documentation Status Python versions Hatch project

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:

hatch run lint:all

Format code:

hatch run lint:fmt

Run tests:

hatch run pytest

Run tests with coverage:

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.