File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 Testing with Celery
55================================================================
66
7+ Testing with Celery is divided into two parts:
8+
9+ * Unit & Integration: Using ``celery.contrib.pytest ``.
10+ * Smoke / Production: Using :pypi: `pytest-celery <pytest-celery> ` >= 1.0.0
11+
12+ Installing the pytest-celery plugin will install the ``celery.contrib.pytest `` infrastructure as well,
13+ alongside the pytest plugin infrastructure. The difference is how you use it.
14+
15+ .. warning ::
16+
17+ Both APIs are NOT compatible with each other. The pytest-celery plugin is Docker based
18+ and the ``celery.contrib.pytest `` is mock based.
19+
20+ To use the ``celery.contrib.pytest `` infrastructure, follow the instructions below.
21+
22+ The pytest-celery plugin has its `own documentation <https://pytest-celery.readthedocs.io/ >`_.
23+
724Tasks and unit tests
825====================
926
You can’t perform that action at this time.
0 commit comments