Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 341 for testing (0.17 sec)

  1. docs/em/docs/advanced/testing-database.md

    # ๐Ÿ”ฌ ๐Ÿ’ฝ
    
    ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ ๐ŸŽ ๐Ÿ”— ๐Ÿ” โšช๏ธโžก๏ธ [๐Ÿ”ฌ ๐Ÿ”— โฎ๏ธ ๐Ÿ”](testing-dependencies.md){.internal-link target=_blank} ๐Ÿ“‰ ๐Ÿ’ฝ ๐Ÿ”ฌ.
    
    ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ’š โš’ ๐Ÿ†™ ๐ŸŽ ๐Ÿ’ฝ ๐Ÿ”ฌ, ๐Ÿ’พ ๐Ÿ’ฝ โฎ๏ธ ๐Ÿ’ฏ, ๐Ÿค-๐Ÿฅง โšซ๏ธ โฎ๏ธ ๐Ÿ”ฌ ๐Ÿ’ฝ, โ™’๏ธ.
    
    ๐Ÿ‘‘ ๐Ÿ’ญ โšซ๏ธโ” ๐ŸŽ ๐Ÿ‘† ๐Ÿ‘€ ๐Ÿ‘ˆ โฎ๏ธ ๐Ÿ“ƒ.
    
    ## ๐Ÿšฎ ๐Ÿ’ฏ ๐Ÿ—„ ๐Ÿ“ฑ
    
    โžก๏ธ โ„น ๐Ÿ–ผ โšช๏ธโžก๏ธ [๐Ÿ—„ (๐Ÿ”—) ๐Ÿ’ฝ](../tutorial/sql-databases.md){.internal-link target=_blank} โš™๏ธ ๐Ÿ”ฌ ๐Ÿ’ฝ.
    
    ๐ŸŒ ๐Ÿ“ฑ ๐Ÿ“Ÿ ๐ŸŽ, ๐Ÿ‘† ๐Ÿ’ช ๐Ÿšถ ๐Ÿ”™ ๐Ÿ‘ˆ ๐Ÿ“ƒ โœ… โ” โšซ๏ธ.
    
    ๐Ÿ•ด ๐Ÿ”€ ๐Ÿ“ฅ ๐Ÿ†• ๐Ÿ”ฌ ๐Ÿ“.
    
    ๐Ÿ‘† ๐Ÿ˜ ๐Ÿ”— `get_db()` ๐Ÿ”œ ๐Ÿ“จ ๐Ÿ’ฝ ๐ŸŽ‰.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/testing-events.md

    # Events testen: Hochfahren โ€“ Herunterfahren
    
    Wenn Sie in Ihren Tests Ihre Event-Handler (`startup` und `shutdown`) ausfรผhren wollen, kรถnnen Sie den `TestClient` mit einer `with`-Anweisung verwenden:
    
    ```Python hl_lines="9-12  20-24"
    {!../../../docs_src/app_testing/tutorial003.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:40 GMT 2024
    - 291 bytes
    - Viewed (0)
  3. docs/em/docs/advanced/testing-events.md

    # ๐Ÿ”ฌ ๐ŸŽ‰: ๐Ÿ•ด - ๐Ÿคซ
    
    ๐Ÿ•โ” ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ‘† ๐ŸŽ‰ ๐Ÿ•โ€๐Ÿฆบ (`startup` & `shutdown`) ๐Ÿƒ ๐Ÿ‘† ๐Ÿ’ฏ, ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ `TestClient` โฎ๏ธ `with` ๐Ÿ“„:
    
    ```Python hl_lines="9-12  20-24"
    {!../../../docs_src/app_testing/tutorial003.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 248 bytes
    - Viewed (0)
  4. docs/en/docs/advanced/testing-database.md

    You could want to set up a different database for testing, rollback the data after the tests, pre-fill it with some testing data, etc.
    
    The main idea is exactly the same you saw in that previous chapter.
    
    ## Add tests for the SQL app
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/testing-websockets.md

    # Testing WebSockets
    
    You can use the same `TestClient` to test WebSockets.
    
    For this, you use the `TestClient` in a `with` statement, connecting to the WebSocket:
    
    ```Python hl_lines="27-31"
    {!../../../docs_src/app_testing/tutorial002.py!}
    ```
    
    !!! note
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 29 14:02:58 GMT 2020
    - 449 bytes
    - Viewed (0)
  6. docs/en/docs/advanced/testing-events.md

    # Testing Events: startup - shutdown
    
    When you need your event handlers (`startup` and `shutdown`) to run in your tests, you can use the `TestClient` with a `with` statement:
    
    ```Python hl_lines="9-12  20-24"
    {!../../../docs_src/app_testing/tutorial003.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 29 14:02:58 GMT 2020
    - 262 bytes
    - Viewed (0)
  7. docs/zh/docs/advanced/testing-events.md

    # ๆต‹่ฏ•ไบ‹ไปถ๏ผšๅฏๅŠจ - ๅ…ณ้—ญ
    
    ไฝฟ็”จ `TestClient` ๅ’Œ `with` ่ฏญๅฅ๏ผŒๅœจๆต‹่ฏ•ไธญ่ฟ่กŒไบ‹ไปถๅค„็†ๅ™จ๏ผˆ`startup` ไธŽ `shutdown`๏ผ‰ใ€‚
    
    ```Python hl_lines="9-12  20-24"
    {!../../../docs_src/app_testing/tutorial003.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jan 28 18:21:02 GMT 2024
    - 228 bytes
    - Viewed (0)
  8. docs/en/docs/advanced/testing-dependencies.md

    # Testing Dependencies with Overrides
    
    ## Overriding dependencies during testing
    
    There are some scenarios where you might want to override a dependency during testing.
    
    You don't want the original dependency to run (nor any of the sub-dependencies it might have).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/testing-dependencies.md

        ```Python hl_lines="28-29  32"
        {!> ../../../docs_src/dependency_testing/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="29-30  33"
        {!> ../../../docs_src/dependency_testing/tutorial001_an.py!}
        ```
    
    === "Python 3.10+ nicht annotiert"
    
        !!! tip "Tipp"
            Bevorzugen Sie die `Annotated`-Version, falls mรถglich.
    
        ```Python hl_lines="24-25  28"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:32 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  10. docs/em/docs/advanced/testing-websockets.md

    # ๐Ÿ”ฌ *๏ธโƒฃ
    
    ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ ๐ŸŽ `TestClient` ๐Ÿ’ฏ*๏ธโƒฃ.
    
    ๐Ÿ‘‰, ๐Ÿ‘† โš™๏ธ `TestClient` `with` ๐Ÿ“„, ๐Ÿ”—*๏ธโƒฃ:
    
    ```Python hl_lines="27-31"
    {!../../../docs_src/app_testing/tutorial002.py!}
    ```
    
    !!! note
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 372 bytes
    - Viewed (0)
Back to top