Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 4,896 for testLang (0.2 sec)

  1. 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
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. 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).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/img/testing-pyramid.png

    testing-pyramid.png...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 18:40:53 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/testing-websockets.md

    为此,要在 `with` 语句中使用 `TestClient` 连接 WebSocket。
    
    ```Python hl_lines="27-31"
    {!../../../docs_src/app_testing/tutorial002.py!}
    ```
    
    !!! note "笔记"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jan 28 18:12:29 UTC 2024
    - 418 bytes
    - Viewed (0)
  5. docs/de/docs/advanced/testing-websockets.md

    ```Python hl_lines="27-31"
    {!../../../docs_src/app_testing/tutorial002.py!}
    ```
    
    !!! note "Hinweis"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:17:48 UTC 2024
    - 522 bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/Testing.kt

    Paul Merlin <******@****.***> 1690890212 +0200
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/testing.md

    Nils Lindemann <******@****.***> 1713469999 +0200
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. hack/verify-testing-import.sh

    # limitations under the License.
    
    # This script checks whether the testing.init symbol is present in any
    # of the release binaries and fails if it finds one. This check is needed
    # to avoid including test libraries in production binaries as they often lack
    # rigorous review and sufficient testing.
    # Usage: `hack/verify-test-code.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 25 11:56:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/testing-database.md

    # 测试数据库
    
    您还可以使用[测试依赖项](testing-dependencies.md){.internal-link target=_blank}中的覆盖依赖项方法变更测试的数据库。
    
    实现设置其它测试数据库、在测试后回滚数据、或预填测试数据等操作。
    
    本章的主要思路与上一章完全相同。
    
    ## 为 SQL 应用添加测试
    
    为了使用测试数据库,我们要升级 [SQL 关系型数据库](../tutorial/sql-databases.md){.internal-link target=_blank} 一章中的示例。
    
    应用的所有代码都一样,直接查看那一章的示例代码即可。
    
    本章只是新添加了测试文件。
    
    正常的依赖项 `get_db()` 返回数据库会话。
    
    测试时使用覆盖依赖项返回自定义数据库会话代替正常的依赖项。
    
    本例中,要创建仅用于测试的临时数据库。
    
    ## 文件架构
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jan 28 18:09:26 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/testing.md

    Nils Lindemann <******@****.***> 1711830001 +0100
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:20:01 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top