|
8 | 8 | :local: |
9 | 9 | :depth: 1 |
10 | 10 |
|
11 | | -TBD? |
12 | | -==== |
| 11 | +What's a Pytest Plugin? |
| 12 | +======================= |
13 | 13 |
|
14 | | -TBD. |
| 14 | +TBD |
| 15 | + |
| 16 | +What do I need? |
| 17 | +=============== |
| 18 | + |
| 19 | +.. sidebar:: Version Requirements |
| 20 | + :subtitle: Pytest Celery version 1.0 runs on |
| 21 | + |
| 22 | + - Python ❨3.8, 3.9, 3.10, 3.11, 3.12❩ |
| 23 | + |
| 24 | + Latest celery version comes out of the box but it is recommended to use your own version. |
| 25 | + |
| 26 | + Pytest Celery is a project with minimal funding, |
| 27 | + so we don't support Microsoft Windows. |
| 28 | + Please don't open any issues related to that platform. |
| 29 | + |
| 30 | +TBD |
| 31 | + |
| 32 | +TODO: Comment about pytest-docker-tools dependency |
| 33 | + |
| 34 | +Get Started |
| 35 | +=========== |
| 36 | + |
| 37 | +Until the documentation is ready, you can check the following locations |
| 38 | +for useful information (in order of usefulness): |
| 39 | + |
| 40 | +- CI_ configuration files. |
| 41 | +- Examples_ directory. |
| 42 | +- Tests_ directory. |
| 43 | +- Source_ code. |
| 44 | + |
| 45 | +.. _CI: https://github.com/celery/pytest-celery/tree/main/.github/workflows |
| 46 | +.. _Examples: https://github.com/celery/pytest-celery/tree/main/examples |
| 47 | +.. _Tests: https://github.com/celery/pytest-celery/tree/main/tests |
| 48 | +.. _Source: https://github.com/celery/pytest-celery/tree/main/src/pytest_celery |
| 49 | + |
| 50 | +Pytest Celery is… |
| 51 | +================= |
| 52 | + |
| 53 | +.. topic:: \ |
| 54 | + |
| 55 | + - **Simple** |
| 56 | + |
| 57 | + See example below: |
| 58 | + |
| 59 | + .. code-block:: python |
| 60 | +
|
| 61 | + def test_hello_world(celery_setup): |
| 62 | + assert celery_setup.ready() |
| 63 | +
|
| 64 | + - **In development** |
| 65 | + |
| 66 | + As you can see, the documentation is under construction. |
| 67 | + |
| 68 | + |
| 69 | +.. topic:: It supports |
| 70 | + |
| 71 | + .. hlist:: |
| 72 | + :columns: 2 |
| 73 | + |
| 74 | + - **Cool Stuff** |
| 75 | + |
| 76 | + - Highlights. |
| 77 | + - More highlights. |
| 78 | + |
| 79 | + - **Celery Stuff** |
| 80 | + |
| 81 | + - Testing infra capabilities. |
| 82 | + |
| 83 | +Features |
| 84 | +======== |
| 85 | + |
| 86 | +.. topic:: \ |
| 87 | + |
| 88 | + .. hlist:: |
| 89 | + :columns: 2 |
| 90 | + |
| 91 | + - **Pytest** |
| 92 | + |
| 93 | + This is a pytest plugin. |
| 94 | + |
| 95 | + :ref:`Read more… <faq>`. |
| 96 | + |
| 97 | + - **Celery** |
| 98 | + |
| 99 | + For Celery. |
| 100 | + |
| 101 | + :ref:`Read more… <faq>`. |
| 102 | + |
| 103 | +Quick Jump |
| 104 | +========== |
| 105 | + |
| 106 | +.. topic:: I want to ⟶ |
| 107 | + |
| 108 | + .. hlist:: |
| 109 | + :columns: 2 |
| 110 | + |
| 111 | + - :ref:`To read Contributing <contributing>` |
| 112 | + - :ref:`To read FAQ <faq>` |
| 113 | + - :ref:`To read API Reference <apiref>` |
| 114 | + |
| 115 | +.. topic:: Jump to ⟶ |
| 116 | + |
| 117 | + .. hlist:: |
| 118 | + :columns: 4 |
| 119 | + |
| 120 | + - :ref:`Contributing <contributing>` |
| 121 | + - :ref:`FAQ <faq>` |
| 122 | + - :ref:`API Reference <apiref>` |
| 123 | + |
| 124 | +.. include:: ../includes/installation.txt |
0 commit comments