Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 2,432 for testng (0.05 seconds)

  1. docs/zh/docs/advanced/testing-events.md

    # 测试事件:lifespan 和 startup - shutdown { #testing-events-lifespan-and-startup-shutdown }
    
    当你需要在测试中运行 `lifespan` 时,可以将 `TestClient` 与 `with` 语句一起使用:
    
    {* ../../docs_src/app_testing/tutorial004_py310.py hl[9:15,18,27:28,30:32,41:43] *}
    
    你可以在[官方 Starlette 文档站点的“在测试中运行 lifespan”](https://www.starlette.dev/lifespan/#running-lifespan-in-tests)阅读更多细节。
    
    对于已弃用的 `startup` 和 `shutdown` 事件,可以按如下方式使用 `TestClient`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 622 bytes
    - Click Count (0)
  2. docs/de/docs/how-to/testing-database.md

    # Eine Datenbank testen { #testing-a-database }
    
    Sie können sich über Datenbanken, SQL und SQLModel in der [SQLModel-Dokumentation](https://sqlmodel.tiangolo.com/) informieren. 🤓
    
    Es gibt ein kurzes [Tutorial zur Verwendung von SQLModel mit FastAPI](https://sqlmodel.tiangolo.com/tutorial/fastapi/). ✨
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 451 bytes
    - Click Count (0)
  3. docs/zh/docs/how-to/testing-database.md

    # 测试数据库 { #testing-a-database }
    
    你可以在[SQLModel 文档](https://sqlmodel.tiangolo.com/)中学习数据库、SQL 和 SQLModel。🤓
    
    这里有一个[在 FastAPI 中使用 SQLModel 的小教程](https://sqlmodel.tiangolo.com/tutorial/fastapi/)。✨
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 388 bytes
    - Click Count (0)
  4. docs/es/docs/how-to/testing-database.md

    # Escribir pruebas para una base de datos { #testing-a-database }
    
    Puedes estudiar sobre bases de datos, SQL y SQLModel en la [documentación de SQLModel](https://sqlmodel.tiangolo.com/). 🤓
    
    Hay un mini [tutorial sobre el uso de SQLModel con FastAPI](https://sqlmodel.tiangolo.com/tutorial/fastapi/). ✨
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 453 bytes
    - Click Count (0)
  5. docs/uk/docs/advanced/testing-events.md

    # Тестування подій: тривалість життя та запуск - вимкнення { #testing-events-lifespan-and-startup-shutdown }
    
    Коли вам потрібно, щоб `lifespan` виконувався у ваших тестах, ви можете використати `TestClient` з оператором `with`:
    
    {* ../../docs_src/app_testing/tutorial004_py310.py hl[9:15,18,27:28,30:32,41:43] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:43:14 GMT 2026
    - 892 bytes
    - Click Count (0)
  6. docs/zh-hant/docs/advanced/testing-events.md

    # 測試事件:lifespan 與 startup - shutdown { #testing-events-lifespan-and-startup-shutdown }
    
    當你需要在測試中執行 lifespan(生命週期)時,你可以使用 TestClient 並搭配 with 陳述式:
    
    {* ../../docs_src/app_testing/tutorial004_py310.py hl[9:15,18,27:28,30:32,41:43] *}
    
    你可以閱讀更多細節:[在測試中執行 lifespan](https://www.starlette.dev/lifespan/#running-lifespan-in-tests)(Starlette 官方文件)。
    
    對於已棄用的 `startup` 和 `shutdown` 事件,你可以這樣使用 TestClient:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 618 bytes
    - Click Count (0)
  7. docs/en/docs/advanced/async-tests.md

    # Async Tests { #async-tests }
    
    You have already seen how to test your **FastAPI** applications using the provided `TestClient`. Up to now, you have only seen how to write synchronous tests, without using `async` functions.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/reflect/test.txt

    This is a resource file for testing purpose....
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 11 16:55:37 GMT 2013
    - 45 bytes
    - Click Count (0)
  9. build-logic/src/main/kotlin/okhttp.testing-conventions.gradle.kts

    }
    
    tasks.withType<Test>().configureEach {
      environment("OKHTTP_ROOT", rootDir)
    }
    
    plugins.withId("org.jetbrains.kotlin.jvm") {
      val test = tasks.named("test")
      tasks.register("jvmTest") {
        description = "Get 'gradlew jvmTest' to run the tests of JVM-only modules"
        dependsOn(test)
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Feb 07 07:16:57 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  10. docs/es/docs/advanced/async-tests.md

    # Tests Asíncronos { #async-tests }
    
    Ya has visto cómo probar tus aplicaciones de **FastAPI** usando el `TestClient` proporcionado. Hasta ahora, solo has visto cómo escribir tests sincrónicos, sin usar funciones `async`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4K bytes
    - Click Count (0)
Back to Top