- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 202 for teststr (0.7 seconds)
-
docs/zh/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 17:06:37 GMT 2026 - 3.9K bytes - Click Count (0) -
docs/bucket/versioning/versioning-tests.sh
Harshavardhana <******@****.***> 1725615741 -0700
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Sep 06 09:42:21 GMT 2024 - 2.5K bytes - Click Count (0) -
docs/resiliency/resiliency-tests.sh
wget -q https://dl.minio.io/client/mc/release/linux-amd64/mc && chmod +x ./mc fi export MC_HOST_myminio=http://minioadmin:minioadmin@localhost:9000 cleanup_and_prune # Run resiliency tests against MinIO docker compose -f "${DOCKER_COMPOSE_FILE}" up -d # Initial setup docs/resiliency/resiliency-initial-script.sh RESULT=$(grep "script passed" <resiliency-initial.log)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Dec 21 04:24:45 GMT 2024 - 20.5K bytes - Click Count (0) -
docs/tr/docs/_llm-test.md
Buraya eklenen testler, dile özel prompt'ları tasarlayan herkes tarafından görülecektir. Şu şekilde kullanın: * Dile özel bir prompt bulundurun: `docs/{language code}/llm-prompt.md`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 11.1K bytes - Click Count (0) -
docs/de/docs/advanced/async-tests.md
# Asynchrone Tests { #async-tests } Sie haben bereits gesehen, wie Sie Ihre **FastAPI**-Anwendungen mit dem bereitgestellten `TestClient` testen. Bisher haben Sie nur gesehen, wie man synchrone Tests schreibt, ohne `async`-Funktionen zu verwenden.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 4.3K bytes - Click Count (1) -
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) -
cmd/perf-tests.go
Klaus Post <******@****.***> 1759093161 +0200
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/IoTestCase.java
try { File testFile = new File(testFileUrl.toURI()); testDir = testFile.getParentFile(); // the testdata directory } catch (Exception ignore) { // probably URISyntaxException or IllegalArgumentException // fall back to copying URLs to files in the testDir == null block below } } if (testDir == null) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5.6K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/FieldUtilTest.java
assertThat(FieldUtil.getString(field), is(STRING_DATA)); } /** * @throws Exception */ @Test(expected = ClIllegalArgumentException.class) public void testSet() throws Exception { final Field field = getClass().getField("intField"); FieldUtil.set(field, this, "abc"); } /** * @throws Exception */ @Test
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 4.1K bytes - Click Count (0) -
docs/tr/docs/deployment/versions.md
/// ## FastAPI Sürümlerini Yükseltme { #upgrading-the-fastapi-versions } Uygulamanız için test'ler eklemelisiniz. **FastAPI** ile bu çok kolaydır (Starlette sayesinde). Dokümantasyona bakın: [Testler](../tutorial/testing.md) Test'leriniz olduktan sonra **FastAPI** sürümünü daha yeni bir sürüme yükseltebilir ve test'lerinizi çalıştırarak tüm kodunuzun doğru çalıştığından emin olabilirsiniz.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 3.8K bytes - Click Count (0)