- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 38 for test_wa (0.04 sec)
-
docs/zh/docs/tutorial/testing.md
要使用 `TestClient`,先要安装 <a href="https://www.python-httpx.org" class="external-link" target="_blank">`httpx`</a>. 例:`pip install httpx`. /// 导入 `TestClient`. 通过传入你的**FastAPI**应用创建一个 `TestClient` 。 创建名字以 `test_` 开头的函数(这是标准的 `pytest` 约定)。 像使用 `httpx` 那样使用 `TestClient` 对象。 为你需要检查的地方用标准的Python表达式写个简单的 `assert` 语句(重申,标准的`pytest`)。 {* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *} /// tip | 提示
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 5.9K bytes - Viewed (0) -
docs/pt/docs/features.md
### Testado { #tested } * 100% <abbr title="A quantidade de código que é testada automaticamente">de cobertura de testes</abbr>. * 100% do código com <abbr title="Anotações de tipo do Python, com isso seu editor e ferramentas externas podem te dar um suporte melhor">anotações de tipo</abbr>.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 10.6K bytes - Viewed (0) -
tensorflow/c/BUILD
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sun Dec 07 13:04:09 UTC 2025 - 30.4K bytes - Viewed (0) -
docs/pt/docs/tutorial/testing.md
```console $ pip install httpx ``` /// Importe `TestClient`. Crie um `TestClient` passando sua aplicação **FastAPI** para ele. Crie funções com um nome que comece com `test_` (essa é a convenção padrão do `pytest`). Use o objeto `TestClient` da mesma forma que você faz com `httpx`.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md
5. **Resources**: Test resources are properly managed and cleaned up ## Contributing When adding new tests: 1. Follow the existing naming convention: `test_<method>_<scenario>_<expectedResult>` 2. Add clear JavaDoc comments explaining the test purpose 3. Ensure tests are independent and can run in any order 4. Clean up resources in finally blocks or use try-with-resources
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:55:01 UTC 2025 - 5.7K bytes - Viewed (0) -
docs/ja/docs/tutorial/testing.md
これを使用すると、**FastAPI** と共に <a href="https://docs.pytest.org/" class="external-link" target="_blank">pytest</a> を直接利用できます。 ## `TestClient` を使用 `TestClient` をインポートします。 `TestClient` を作成し、**FastAPI** に渡します。 `test_` から始まる名前の関数を作成します (これは `pytest` の標準的なコンベンションです)。 `httpx` と同じ様に `TestClient` オブジェクトを使用します。 チェックしたい Python の標準的な式と共に、シンプルに `assert` 文を記述します。 {* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *}
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 5.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java
+ "</doc>"; final ResponseData responseData = new ResponseData(); responseData.setResponseBody(ResourceUtil.getResourceAsFile("extractor/test_ns.xml"), false); responseData.setCharSet(Constants.UTF_8); final ResultData resultData = xmlNsTransformer.transform(responseData); assertEquals(result, new String(resultData.getData(), Constants.UTF_8));Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 13.5K bytes - Viewed (0) -
docs/en/docs/tutorial/testing.md
```console $ pip install httpx ``` /// Import `TestClient`. Create a `TestClient` by passing your **FastAPI** application to it. Create functions with a name that starts with `test_` (this is standard `pytest` conventions). Use the `TestClient` object the same way as you do with `httpx`. Write simple `assert` statements with the standard Python expressions that you need to check (again, standard `pytest`).
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.1K bytes - Viewed (0) -
docs/uk/docs/tutorial/testing.md
```console $ pip install httpx ``` /// Імпортуйте `TestClient`. Створіть `TestClient`, передавши йому Ваш застосунок **FastAPI**. Створюйте функції з іменами, що починаються з `test_` (це стандартна угода для `pytest`). Використовуйте об'єкт `TestClient` так само як і `httpx`. Записуйте прості `assert`-вирази зі стандартними виразами Python, які потрібно перевірити (це також стандарт для `pytest`).
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 9.5K bytes - Viewed (0) -
docs/ko/docs/tutorial/testing.md
```console $ pip install httpx ``` /// `TestClient` 를 임포트하세요. **FastAPI** 어플리케이션을 전달하여 `TestClient` 를 만드세요. 이름이 `test_` 로 시작하는 함수를 만드세요(`pytest` 의 표준적인 관례입니다). `httpx` 를 사용하는 것과 같은 방식으로 `TestClient` 객체를 사용하세요. 표준적인 파이썬 문법을 이용하여 확인이 필요한 곳에 간단한 `assert` 문장을 작성하세요(역시 표준적인 `pytest` 관례입니다).
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 7.6K bytes - Viewed (0)