Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 251 for testis (0.22 sec)

  1. .cm/lacks_tests.cm

    on:
      - pr_created
      - commit
      - comment_added
    
    automations:
    
      # If a PR contains non-trivial source changes and no tests, add a comment to the PR
      lacks_tests:
        if:
          - {{ ('lacks_tests' | isEnabledAutomation(pr)) }}
          - {{ includes_src_changes }}
          - {{ not (includes_test_changes) }}
          - {{ not (is_docs_only_change) }}
          - {{ not (is_formatting_only_change) }}
        run:
          - action: add-label@v1
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/testing.md

    !!! tip
        If you want to call `async` functions in your tests apart from sending requests to your FastAPI application (e.g. asynchronous database functions), have a look at the [Async Tests](../advanced/async-tests.md){.internal-link target=_blank} in the advanced tutorial.
    
    ## Separating tests
    
    In a real application, you probably would have your tests in a different file.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  3. .teamcity/performance-tests-ci.json

          }
        } ]
      }, {
        "testId" : "org.gradle.performance.regression.android.RealLifeAndroidBuildPerformanceTest.calculate task graph with test finalizer",
        "groups" : [ {
          "testProject" : "largeAndroidBuild",
          "coverage" : {
            "per_commit" : [ "linux" ]
          }
        } ]
      }, {
    Json
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 26 11:42:52 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  4. .github/workflows/test.yml

          - name: Install Dependencies
            if: steps.cache.outputs.cache-hit != 'true'
            run: pip install -r requirements-tests.txt
          - name: Install Pydantic v2
            run: pip install "pydantic>=2.0.2,<3.0.0"
          - name: Lint
            run: bash scripts/lint.sh
    
      test:
        runs-on: ubuntu-latest
        strategy:
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 4.4K bytes
    - Viewed (1)
  5. cmd/test-utils_test.go

    	return prepareErasure(ctx, 16)
    }
    
    // TestErrHandler - Go testing.T satisfy this interface.
    // This makes it easy to run the TestServer from any of the tests.
    // Using this interface, functionalities to be used in tests can be
    // made generalized, and can be integrated in benchmarks/unit tests/go check suite tests.
    type TestErrHandler interface {
    	testing.TB
    }
    
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/testing.md

    
    ```Python
    {!../../../docs_src/app_testing/main.py!}
    ```
    
    ### 测试文件
    
    然后你会有一个包含测试的文件 `test_main.py` 。app可以像Python包那样存在(一样是目录,但有个 `__init__.py` 文件):
    
    ``` hl_lines="5"
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    因为这文件在同一个包中,所以你可以通过相对导入从 `main` 模块(`main.py`)导入`app`对象:
    
    ```Python hl_lines="3"
    {!../../../docs_src/app_testing/test_main.py!}
    ```
    
    ...然后测试代码和之前一样的。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. requirements-tests.txt

    -e .[all]
    -r requirements-docs-tests.txt
    pytest >=7.1.3,<8.0.0
    coverage[toml] >= 6.5.0,< 8.0
    mypy ==1.8.0
    ruff ==0.2.0
    dirty-equals ==0.6.0
    # TODO: once removing databases from tutorial, upgrade SQLAlchemy
    # probably when including SQLModel
    sqlalchemy >=1.3.18,<1.4.43
    databases[sqlite] >=0.3.2,<0.7.0
    flask >=1.1.2,<3.0.0
    anyio[trio] >=3.2.1,<4.0.0
    python-jose[cryptography] >=3.3.0,<4.0.0
    pyyaml >=5.3.1,<7.0.0
    passlib[bcrypt] >=1.7.2,<2.0.0
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 23:48:42 GMT 2024
    - 496 bytes
    - Viewed (0)
  8. .teamcity/test-buckets.json

    					"enterprise",
    					"execution",
    					"execution-e2e-tests",
    					"file-collections",
    					"file-watching",
    					"ide",
    					"ide-plugins",
    					"integ-test",
    					"internal-integ-testing",
    					"internal-performance-testing",
    					"ivy",
    					"java-platform",
    					"jvm-services",
    					"kotlin-dsl",
    					"kotlin-dsl-integ-tests",
    					"language-java",
    					"language-jvm",
    Json
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed May 01 00:36:47 GMT 2024
    - 50.1K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/testing.md

    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py310/main.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py39/main.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an/main.py!}
        ```
    
    === "Python 3.10+ без Annotated"
    
        !!! tip "Подсказка"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/testing.md

    === "🐍 3️⃣.6️⃣ &amp; 🔛"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b/main.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ &amp; 🔛"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_py310/main.py!}
        ```
    
    ### ↔ 🔬 📁
    
    👆 💪 ⤴️ ℹ `test_main.py` ⏮️ ↔ 💯:
    
    ```Python
    {!> ../../../docs_src/app_testing/app_b/test_main.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.2K bytes
    - Viewed (0)
Back to top