|
1 | 1 |
|
2 |
| -|build-status| |coverage| |license| |semgrep| |pyversion| |pyimp| |ocbackerbadge| |ocsponsorbadge| |
| 2 | +|build-status| |coverage| |license| |semgrep| |pyversion| |pyimp| |ocbackerbadge| |ocsponsorbadge| |poetry| |
3 | 3 |
|
4 | 4 | :Version: 1.0.0rc3
|
5 | 5 | :Web: https://pytest-celery.readthedocs.io/en/latest/
|
6 | 6 | :Download: https://pypi.org/project/pytest-celery/
|
7 | 7 | :Source: https://github.com/celery/pytest-celery/
|
8 | 8 |
|
9 |
| -Coming Soon! |
10 |
| -============ |
| 9 | +=================================== |
| 10 | + Official pytest plugin for Celery |
| 11 | +=================================== |
11 | 12 |
|
12 |
| -Stay tuned.. |
| 13 | +Welcome to `pytest-celery`_, the official pytest plugin for Celery. |
13 | 14 |
|
| 15 | +.. _`pytest-celery`: https://pypi.org/project/pytest-celery/ |
14 | 16 |
|
| 17 | +The pytest-celery plugin introduces significant enhancements with the introduction of |
| 18 | +version >= 1.0.0, shifting towards a Docker-based approach for smoke and production-like testing. |
| 19 | +While the ``celery.contrib.pytest`` API continues to support detailed integration |
| 20 | +and unit testing, the new Docker-based methodology is tailored for testing in |
| 21 | +environments that closely mirror production settings. |
| 22 | + |
| 23 | +Adopting version >= 1.0.0 enriches your testing suite with these new capabilities |
| 24 | +without affecting your existing tests, allowing for a smooth upgrade path. |
| 25 | +The documentation here will navigate you through utilizing the Docker-based approach. |
| 26 | +For information on the ``celery.contrib.pytest`` API for integration and unit testing, |
| 27 | +please refer to the `official documentation`_. |
| 28 | + |
| 29 | +.. _`official documentation`: https://docs.celeryproject.org/en/latest/userguide/testing.html |
| 30 | + |
| 31 | +The pytest-celery plugin is Open Source and licensed under the `BSD License`_. |
| 32 | + |
| 33 | +.. _`BSD License`: http://www.opensource.org/licenses/BSD-3-Clause |
| 34 | + |
| 35 | +Donations |
| 36 | +========= |
| 37 | + |
| 38 | +This project relies on your generous donations. |
| 39 | + |
| 40 | +If you are using pytest-celery to test a commercial product, please consider becoming |
| 41 | +our `backer`_ or our `sponsor`_ to ensure pytest-celery's future. |
| 42 | + |
| 43 | +.. _`backer`: https://opencollective.com/celery |
| 44 | +.. _`sponsor`: https://opencollective.com/celery |
| 45 | + |
| 46 | +Getting Started |
| 47 | +=============== |
| 48 | + |
| 49 | +- If you're new to pytest-celery you can get started by following the `Getting Started`_ tutorial. |
| 50 | +- You can also check out the `FAQ`_. |
| 51 | + |
| 52 | +.. _`Getting Started`: https://docs.celeryq.dev/projects/pytest-celery/en/latest/getting-started/index.html#getting-started |
| 53 | +.. _`FAQ`: https://docs.celeryq.dev/projects/pytest-celery/en/latest/faq.html#faq |
| 54 | + |
| 55 | +Contents |
| 56 | +======== |
| 57 | + |
| 58 | +- `Copyright <https://docs.celeryq.dev/projects/pytest-celery/en/latest/copyright.html>`_ |
| 59 | + |
| 60 | +- `Getting Started <https://docs.celeryq.dev/projects/pytest-celery/en/latest/getting-started/index.html>`_ |
| 61 | + - `Introduction to pytest-celery <https://docs.celeryq.dev/projects/pytest-celery/en/latest/getting-started/introduction.html>`_ |
| 62 | + - `First Steps with pytest-celery <https://docs.celeryq.dev/projects/pytest-celery/en/latest/getting-started/first-steps.html>`_ |
| 63 | + - `Next Steps <https://docs.celeryq.dev/projects/pytest-celery/en/latest/getting-started/next-steps.html>`_ |
| 64 | + - `Vendors <https://docs.celeryq.dev/projects/pytest-celery/en/latest/getting-started/vendors.html>`_ |
| 65 | + - `Help <https://docs.celeryq.dev/projects/pytest-celery/en/latest/getting-started/help.html>`_ |
| 66 | + |
| 67 | +- `User Guide <https://docs.celeryq.dev/projects/pytest-celery/en/latest/userguide/index.html>`_ |
| 68 | + - `Advanced Installation Guide <https://docs.celeryq.dev/projects/pytest-celery/en/latest/userguide/advanced-installation.html>`_ |
| 69 | + - `Test Setup Matrix <https://docs.celeryq.dev/projects/pytest-celery/en/latest/userguide/setup-matrix.html>`_ |
| 70 | + - `How to prepare the Celery application <https://docs.celeryq.dev/projects/pytest-celery/en/latest/userguide/app-conf.html>`_ |
| 71 | + - `How to inject your own utility functions <https://docs.celeryq.dev/projects/pytest-celery/en/latest/userguide/utils-module.html>`_ |
| 72 | + - `How to add tasks <https://docs.celeryq.dev/projects/pytest-celery/en/latest/userguide/tasks.html>`_ |
| 73 | + - `Built-in Tasks <https://docs.celeryq.dev/projects/pytest-celery/en/latest/userguide/default-tasks.html>`_ |
| 74 | + - `How to connect signal handlers <https://docs.celeryq.dev/projects/pytest-celery/en/latest/userguide/signals.html>`_ |
| 75 | + - `Standalone Celery Bug Report <https://docs.celeryq.dev/projects/pytest-celery/en/latest/userguide/celery-bug-report.html>`_ |
| 76 | + - `Examples <https://docs.celeryq.dev/projects/pytest-celery/en/latest/userguide/examples/index.html>`_ |
| 77 | + - `Useful Resources <https://docs.celeryq.dev/projects/pytest-celery/en/latest/userguide/resources/index.html>`_ |
| 78 | + |
| 79 | +- `Plugin Development Guide <https://docs.celeryq.dev/projects/pytest-celery/en/latest/devguide/index.html>`_ |
| 80 | + - `Local Development Environment <https://docs.celeryq.dev/projects/pytest-celery/en/latest/devguide/local-development-environment.html>`_ |
| 81 | + - `Tox Environments <https://docs.celeryq.dev/projects/pytest-celery/en/latest/devguide/tox.html>`_ |
| 82 | + - `Sphinx Documentation <https://docs.celeryq.dev/projects/pytest-celery/en/latest/devguide/sphinx.html>`_ |
| 83 | + - `How to release a new version <https://docs.celeryq.dev/projects/pytest-celery/en/latest/devguide/release.html>`_ |
| 84 | + |
| 85 | +- `API Documentation <https://docs.celeryq.dev/projects/pytest-celery/en/latest/reference/index.html>`_ |
| 86 | +- `Contributing <https://docs.celeryq.dev/projects/pytest-celery/en/latest/contributing.html>`_ |
| 87 | +- `FAQ <https://docs.celeryq.dev/projects/pytest-celery/en/latest/faq.html>`_ |
| 88 | +- `Change history <https://docs.celeryq.dev/projects/pytest-celery/en/latest/changelog.html>`_ |
| 89 | +- `Glossary <https://docs.celeryq.dev/projects/pytest-celery/en/latest/glossary.html>`_ |
15 | 90 |
|
16 | 91 | .. |build-status| image:: https://github.com/celery/pytest-celery/actions/workflows/python-package.yml/badge.svg
|
17 | 92 | :alt: Build status
|
@@ -44,6 +119,6 @@ Stay tuned..
|
44 | 119 | :alt: Sponsors on Open Collective
|
45 | 120 | :target: #sponsors
|
46 | 121 |
|
47 |
| -.. |downloads| image:: https://pepy.tech/badge/pytest-celery |
48 |
| - :alt: Downloads |
49 |
| - :target: https://pepy.tech/project/pytest-celery |
| 122 | +.. |poetry| image:: https://img.shields.io/badge/poetry-yes-blue.svg |
| 123 | + :alt: Poetry |
| 124 | + :target: https://python-poetry.org/ |
0 commit comments