Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 2,812 for test1 (0.02 seconds)

  1. fuzzing/fuzzingserver-test.sh

      exit 1
    fi
    
    trap 'kill $(jobs -pr)' SIGINT SIGTERM EXIT
    
    set -ex
    
    wstest -m fuzzingserver -s fuzzingserver-config.json &
    sleep 2 # wait for wstest to start
    
    java -jar target/okhttp-tests-*-jar-with-dependencies.jar
    
    jq '.[] as $in | $in | keys[] | . + " " + $in[.].behavior' target/fuzzingserver-report/index.json > target/fuzzingserver-actual.txt
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 26 02:01:32 GMT 2019
    - 673 bytes
    - Click Count (0)
  2. .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)
  3. 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)
  4. 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)
  5. .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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top