- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 398 for testOf (0.07 seconds)
-
docs/ja/docs/advanced/async-tests.md
# 非同期テスト { #async-tests } これまでに、提供されている `TestClient` を使って **FastAPI** アプリケーションをテストする方法を見てきました。ここまでは、`async` 関数を使わない同期テストのみでした。 テストで非同期関数を使えると、たとえばデータベースへ非同期にクエリする場合などに便利です。非同期データベースライブラリを使いながら、FastAPI アプリにリクエストを送り、その後バックエンドが正しいデータをデータベースに書き込めたかを検証したい、といったケースを想像してください。 その方法を見ていきます。 ## pytest.mark.anyio { #pytest-mark-anyio } テスト内で非同期関数を呼び出したい場合、テスト関数自体も非同期である必要があります。AnyIO はこれを実現するための便利なプラグインを提供しており、特定のテスト関数を非同期で呼び出すことを指定できます。 ## HTTPX { #httpx }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 4.5K bytes - Click Count (0) -
src/test/resources/org/codelibs/core/io/test.jar
META-INF/MANIFEST.MF Manifest-Version: 1.0 Created-By: 1.4.2_12 (Sun Microsystems Inc.) test.txt...
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sun Dec 28 09:01:06 GMT 2014 - 437 bytes - Click Count (0) -
src/test/resources/org/codelibs/core/io/test.txt
Shinsuke Sugaya <******@****.***> 1419757266 +0900
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sun Dec 28 09:01:06 GMT 2014 - 17 bytes - Click Count (0) -
.github/workflows/test.yml
uv.lock - name: Install Dependencies run: uv sync --no-dev --group tests --extra all - name: CodSpeed benchmarks uses: CodSpeedHQ/action@v4 with: mode: simulation run: uv run --no-sync pytest tests/benchmarks --codspeed coverage-combine: needs: - test runs-on: ubuntu-latest steps: - name: Dump GitHub context env:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 12:36:49 GMT 2026 - 6.4K bytes - Click Count (0) -
cmd/test-utils_test.go
// This makes it easy to run the TestServer from any of the tests. // Using this interface, functionalities to be used in tests can be // made generalized, and can be integrated in benchmarks/unit tests/go check suite tests. type TestErrHandler interface { testing.TB } const ( // ErasureSDStr is the string which is used as notation for Single node ObjectLayer in the unit tests. ErasureSDStr string = "ErasureSD"Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 77K bytes - Click Count (0) -
docs/pt/docs/advanced/testing-dependencies.md
## Sobrepondo dependências durante os testes { #overriding-dependencies-during-testing } Existem alguns cenários onde você deseje sobrepor uma dependência durante os testes. Você não quer que a dependência original execute (e nenhuma das subdependências que você possa ter).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:48:53 GMT 2026 - 2.7K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/async-tests.md
# 非同步測試 { #async-tests } 你已經看過如何使用提供的 `TestClient` 來測試你的 FastAPI 應用。到目前為止,你只看到如何撰寫同步測試,沒有使用 `async` 函式。 在測試中能使用非同步函式會很有用,例如當你以非同步方式查詢資料庫時。想像你想測試發送請求到 FastAPI 應用,然後在使用非同步資料庫函式庫時,驗證後端是否成功把正確資料寫入資料庫。 來看看怎麼做。 ## pytest.mark.anyio { #pytest-mark-anyio } 若要在測試中呼叫非同步函式,測試函式本身也必須是非同步的。AnyIO 為此提供了一個好用的外掛,讓我們可以標示某些測試函式以非同步方式執行。 ## HTTPX { #httpx } 即使你的 FastAPI 應用使用一般的 `def` 函式而非 `async def`,它在底層仍然是個 `async` 應用。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.5K bytes - Click Count (0) -
docs/uk/docs/advanced/async-tests.md
# Асинхронні тести { #async-tests } Ви вже бачили, як тестувати ваші застосунки **FastAPI** за допомогою наданого `TestClient`. До цього часу ви бачили лише, як писати синхронні тести, без використання функцій `async`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 5.9K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
tester.testForwarding(ParameterTypesDifferent.class, ParameterTypesDifferentForwarder::new); } public void testVoidMethodForwarding() { tester.testForwarding(Runnable.class, ForwardingRunnable::new); } public void testToStringForwarding() { tester.testForwarding( Runnable.class, runnable -> new ForwardingRunnable(runnable) { @Override public String toString() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
} return requirements; } /** * Find all the tester annotations declared on a tester class or method. * * @param classOrMethod a class or method whose tester annotations to find * @return an iterable sequence of tester annotations on the class */ public static Iterable<Annotation> getTesterAnnotations(AnnotatedElement classOrMethod) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 12.4K bytes - Click Count (0)