Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 2,349 for test2 (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. guava-tests/test/com/google/common/reflect/test.txt

    Chris Povirk <******@****.***> 1357920668 -0500
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 11 16:55:37 GMT 2013
    - 45 bytes
    - Click Count (0)
  3. src/test/resources/org/codelibs/core/xml/test1.xml

    Shinsuke Sugaya <******@****.***> 1419757266 +0900
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sun Dec 28 09:01:06 GMT 2014
    - 200 bytes
    - Click Count (0)
  4. docs/ko/docs/_llm-test.md

    # LLM 테스트 파일 { #llm-test-file }
    
    이 문서는 문서를 번역하는 <abbr title="Large Language Model - 대규모 언어 모델">LLM</abbr>이 `scripts/translate.py`의 `general_prompt`와 `docs/{language code}/llm-prompt.md`의 언어별 프롬프트를 이해하는지 테스트합니다. 언어별 프롬프트는 `general_prompt`에 추가됩니다.
    
    여기에 추가된 테스트는 언어별 프롬프트를 설계하는 모든 사람이 보게 됩니다.
    
    사용 방법은 다음과 같습니다:
    
    * 언어별 프롬프트 `docs/{language code}/llm-prompt.md`를 준비합니다.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. .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)
  8. docs/ru/docs/_llm-test.md

    # Тестовый файл LLM { #llm-test-file }
    
    Этот документ проверяет, понимает ли <abbr title="Large Language Model - Большая языковая модель">LLM</abbr>, переводящая документацию, `general_prompt` в `scripts/translate.py` и языковой специфичный промпт в `docs/{language code}/llm-prompt.md`. Языковой специфичный промпт добавляется к `general_prompt`.
    
    Тесты, добавленные здесь, увидят все создатели языковых специфичных промптов.
    
    Использование:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  9. .ci/jobs.t/elastic+elasticsearch+multijob+packaging-tests-windows.yml

    ---
    - job:
        name: elastic+elasticsearch+%BRANCH%+multijob+packaging-tests-windows
        display-name: "elastic / elasticsearch # %BRANCH% - windows packaging tests"
        description: "Testing of the Elasticsearch %BRANCH% branch windows packaging test support matrix.\n"
        project-type: matrix
        node: master
        scm:
          - git:
              wipe-workspace: false
        axes:
          - axis:
              type: label-expression
              name: os
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 15 22:00:26 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  10. docs/ja/docs/_llm-test.md

    # LLM テストファイル { #llm-test-file }
    
    このドキュメントは、ドキュメントを翻訳する <abbr title="Large Language Model - 大規模言語モデル">LLM</abbr> が、`scripts/translate.py` の `general_prompt` と、`docs/{language code}/llm-prompt.md` の言語固有プロンプトを理解しているかをテストします。言語固有プロンプトは `general_prompt` の末尾に追加されます。
    
    ここに追加したテストは、すべての言語固有プロンプトの設計者が参照します。
    
    使い方:
    
    * 言語固有プロンプトを用意します - `docs/{language code}/llm-prompt.md`。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 13.5K bytes
    - Click Count (0)
Back to Top