Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 426 for Pytest (0.15 sec)

  1. docs/ru/docs/tutorial/testing.md

    ## Запуск тестов
    
    Далее Вам нужно установить `pytest`:
    
    <div class="termy">
    
    ```console
    $ pip install pytest
    
    ---> 100%
    ```
    
    </div>
    
    Он автоматически найдёт все файлы и тесты, выполнит их и предоставит Вам отчёт о результатах тестирования.
    
    Запустите тесты командой `pytest` и увидите результат:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/async-tests.md

    ```console
    $ pytest
    
    ---> 100%
    ```
    
    </div>
    
    ## In Detail
    
    The marker `@pytest.mark.anyio` tells pytest that this test function should be called asynchronously:
    
    ```Python hl_lines="7"
    {!../../../docs_src/async_tests/test_main.py!}
    ```
    
    !!! tip
        Note that the test function is now `async def` instead of just `def` as before when using the `TestClient`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 12:07:15 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/testing.md

    Führen Sie die Tests aus, mit:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    ================ test session starts ================
    platform linux -- Python 3.6.9, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
    rootdir: /home/user/code/superawesome-cli/app
    plugins: forked-1.1.3, xdist-1.31.0, cov-2.8.1
    collected 6 items
    
    ---> 100%
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:20:01 GMT 2024
    - 7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/testing.md

    Run the tests with:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    ================ test session starts ================
    platform linux -- Python 3.6.9, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
    rootdir: /home/user/code/superawesome-cli/app
    plugins: forked-1.1.3, xdist-1.31.0, cov-2.8.1
    collected 6 items
    
    ---> 100%
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/testing.md

    ## 运行起来
    
    之后,你只需要安装 `pytest`:
    
    <div class="termy">
    
    ```console
    $ pip install pytest
    
    ---> 100%
    ```
    
    </div>
    
    他会自动检测文件和测试,执行测试,然后向你报告结果。
    
    执行测试:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    ================ test session starts ================
    platform linux -- Python 3.6.9, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. docs/en/docs/project-generation.md

    - 🐋 [Docker Compose](https://www.docker.com) for development and production.
    - 🔒 Secure password hashing by default.
    - 🔑 JWT token authentication.
    - 📫 Email based password recovery.
    - ✅ Tests with [Pytest](https://pytest.org).
    - 📞 [Traefik](https://traefik.io) as a reverse proxy / load balancer.
    - 🚢 Deployment instructions using Docker Compose, including how to set up a frontend Traefik proxy to handle automatic HTTPS certificates.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 21 21:12:21 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/testing.md

    ## 🏃 ⚫️
    
    ⏮️ 👈, 👆 💪 ❎ `pytest`:
    
    <div class="termy">
    
    ```console
    $ pip install pytest
    
    ---> 100%
    ```
    
    </div>
    
    ⚫️ 🔜 🔍 📁 &amp; 💯 🔁, 🛠️ 👫, &amp; 📄 🏁 🔙 👆.
    
    🏃 💯 ⏮️:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    ================ test session starts ================
    platform linux -- Python 3.6.9, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/testing.md

    ## 実行
    
    後は、`pytest` をインストールするだけです:
    
    <div class="termy">
    
    ```console
    $ pip install pytest
    
    ---> 100%
    ```
    
    </div>
    
    ファイルを検知し、自動テストを実行し、結果のレポートを返します。
    
    以下でテストを実行します:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    ================ test session starts ================
    platform linux -- Python 3.6.9, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 16:16:02 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/async-tests.md

    <div class="termy">
    
    ```console
    $ pytest
    
    ---> 100%
    ```
    
    </div>
    
    ## Details
    
    Der Marker `@pytest.mark.anyio` teilt pytest mit, dass diese Testfunktion asynchron aufgerufen werden soll:
    
    ```Python hl_lines="7"
    {!../../../docs_src/async_tests/test_main.py!}
    ```
    
    !!! tip "Tipp"
        Beachten Sie, dass die Testfunktion jetzt `async def` ist und nicht nur `def` wie zuvor, wenn Sie den `TestClient` verwenden.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:25:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  10. requirements-tests.txt

    -e .[all]
    -r requirements-docs-tests.txt
    pytest >=7.1.3,<8.0.0
    coverage[toml] >= 6.5.0,< 8.0
    mypy ==1.8.0
    ruff ==0.2.0
    dirty-equals ==0.6.0
    # TODO: once removing databases from tutorial, upgrade SQLAlchemy
    # probably when including SQLModel
    sqlalchemy >=1.3.18,<1.4.43
    databases[sqlite] >=0.3.2,<0.7.0
    flask >=1.1.2,<3.0.0
    anyio[trio] >=3.2.1,<4.0.0
    python-jose[cryptography] >=3.3.0,<4.0.0
    pyyaml >=5.3.1,<7.0.0
    passlib[bcrypt] >=1.7.2,<2.0.0
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 23:48:42 GMT 2024
    - 496 bytes
    - Viewed (0)
Back to top