Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 2,355 for test4 (0.05 seconds)

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

  1. docs/tr/docs/advanced/async-tests.md

    # Async Testler { #async-tests }
    
    Sağlanan `TestClient` ile **FastAPI** uygulamalarınızı nasıl test edeceğinizi zaten gördünüz. Şimdiye kadar yalnızca senkron testler yazdık, yani `async` fonksiyonlar kullanmadan.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  2. docs/iam/policies/pbac-tests.sh

    mc admin policy attach myminio consoleAdmin --user minio123
    
    mc mb -l myminio/test-bucket
    mc mb -l myminio/multi-key-poc
    
    export MC_HOST_myminio1="http://minio123:minio123@localhost:9000/"
    
    mc cp /etc/issue myminio1/test-bucket
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: PutObject to bucket: test-bucket should succeed. Failed"
    	exit 1
    fi
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 25 01:15:27 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  3. .github/workflows/tests.yml

        - name: Tests
          run: GITHUB_ACTION=true GORM_DIALECT=postgres GORM_DSN="user=gorm password=gorm dbname=gorm host=localhost port=9920 sslmode=disable TimeZone=Asia/Shanghai" ./tests/tests_all.sh
    
      sqlserver:
        strategy:
          matrix:
            go: ['stable', 'oldstable']
            platform: [ubuntu-latest] # can not run test in macOS and windows
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Mar 23 10:05:06 GMT 2026
    - 9K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. .ci/scripts/packaging-test.sh

    sudo chmod 0440 /etc/sudoers.d/elasticsearch_vars
    
    # Bats tests still use this locationa
    sudo rm -Rf /elasticsearch
    sudo mkdir -p /elasticsearch/qa/ && sudo chown jenkins /elasticsearch/qa/ && ln -s $PWD/qa/vagrant /elasticsearch/qa/
    
    # sudo sets it's own PATH thus we use env to override that and call sudo annother time so we keep the secure root PATH
    # run with --continue to run both bats and java tests even if one fails
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 06 21:46:09 GMT 2021
    - 2.3K bytes
    - Click Count (0)
  7. 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)
  8. docs/tr/docs/_llm-test.md

    # LLM test dosyası { #llm-test-file }
    
    Bu doküman, dokümantasyonu çeviren <abbr title="Large Language Model">LLM</abbr>'nin `scripts/translate.py` içindeki `general_prompt`'u ve `docs/{language code}/llm-prompt.md` içindeki dile özel prompt'u anlayıp anlamadığını test eder. Dile özel prompt, `general_prompt`'a eklenir.
    
    Buraya eklenen testler, dile özel prompt'ları tasarlayan herkes tarafından görülecektir.
    
    Şu şekilde kullanın:
    
    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)
  9. .github/ISSUE_TEMPLATE/test-failure.md

    ---
    name: Test Failure
    about: A test failure in CI
    labels: ">test-failure"
    
    ---
    
    <!--
    Please fill out the following information, and ensure you have attempted
    to reproduce locally
    -->
    
    **Build scan**:
    
    **Repro line**:
    
    **Reproduces locally?**:
    
    **Applicable branches**:
    
    **Failure history**:
    <!--
    Link to build stats and possible indication of when this started failing and how often it fails
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri May 15 10:26:59 GMT 2020
    - 464 bytes
    - Click Count (0)
  10. build-tools-internal/src/main/resources/forbidden/es-test-signatures.txt

    org.apache.lucene.util.LuceneTestCase$Slow @ Don't write slow tests
    org.junit.Ignore @ Use AwaitsFix instead
    org.apache.lucene.util.LuceneTestCase$Nightly @ We don't run nightly tests at this point!
    com.carrotsearch.randomizedtesting.annotations.Nightly @ We don't run nightly tests at this point!
    
    org.junit.Test @defaultMessage Just name your test method testFooBar
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.2K bytes
    - Click Count (0)
Back to Top