Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 67 for coverage (0.1 seconds)

  1. .github/workflows/test.yml

          - name: Get coverage files
            uses: actions/download-artifact@v8
            with:
              pattern: coverage-*
              path: coverage
              merge-multiple: true
          - run: ls -la coverage
          - run: uv run coverage combine coverage
          - run: uv run coverage html --title "Coverage for ${{ github.sha }}"
          - name: Store coverage HTML
            uses: actions/upload-artifact@v7
    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)
  2. .github/workflows/smokeshow.yml

          - uses: actions/download-artifact@v8
            with:
              name: coverage-html
              path: htmlcov
              github-token: ${{ secrets.GITHUB_TOKEN }}
              run-id: ${{ github.event.workflow_run.id }}
          # Try 5 times to upload coverage to smokeshow
          - name: Upload coverage to Smokeshow
            run: |
              for i in 1 2 3 4 5; do
                if uv run smokeshow upload htmlcov; then
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 03 00:12:02 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  3. fastapi-slim/README.md

        <img src="https://github.com/fastapi/fastapi/actions/workflows/test.yml/badge.svg?event=push&branch=master" alt="Test">
    </a>
    <a href="https://coverage-badge.samuelcolvin.workers.dev/redirect/fastapi/fastapi" target="_blank">
        <img src="https://coverage-badge.samuelcolvin.workers.dev/fastapi/fastapi.svg" alt="Coverage">
    </a>
    <a href="https://pypi.org/project/fastapi" target="_blank">
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 12:33:49 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  4. tests/test_compat.py

        # For coverage
        # TODO: in theory this would allow declaring types that could be lists of bytes
        # to be read from files and other types, but I'm not even sure it's a good idea
        # to support it as a first class "feature"
        assert is_bytes_sequence_annotation(list[str] | list[bytes])
    
    
    def test_is_uploadfile_sequence_annotation():
        # For coverage
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  5. pyproject.toml

    addopts = [
      "--strict-config",
      "--strict-markers",
      "--ignore=docs_src",
    ]
    strict_xfail = true
    filterwarnings = [
        "error",
    ]
    timeout = "20"
    
    [tool.coverage.run]
    parallel = true
    data_file = "coverage/.coverage"
    source = [
        "docs_src",
        "tests",
        "fastapi"
    ]
    relative_files = true
    context = '${CONTEXT}'
    omit = [
        "tests/benchmarks/*",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 12:36:49 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  6. tests/test_dependencies_utils.py

    from fastapi.dependencies.utils import get_typed_annotation
    
    
    def test_get_typed_annotation():
        # For coverage
        annotation = "None"
        typed_annotation = get_typed_annotation(annotation, globals())
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 241 bytes
    - Click Count (0)
  7. tests/test_stream_bare_type.py

    import json
    from typing import AsyncIterable, Iterable  # noqa: UP035 to test coverage
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
    
    
    app = FastAPI()
    
    
    @app.get("/items/stream-bare-async")
    async def stream_bare_async() -> AsyncIterable:
        yield {"name": "foo"}
    
    
    @app.get("/items/stream-bare-sync")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  8. tests/test_custom_schema_fields.py

        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json()["components"]["schemas"]["Item"] == item_schema
    
    
    def test_response():
        # For coverage
        response = client.get("/foo")
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

    /**
     * Tests that the {@code ClassLoader} of {@link FinalizableReferenceQueue} can be unloaded. These
     * tests are separate from {@link FinalizableReferenceQueueTest} so that they can be excluded from
     * coverage runs, as the coverage system interferes with them.
     *
     * @author Eamonn McManus
     */
    @AndroidIncompatible
    @GwtIncompatible
    @J2ktIncompatible
    @RunWith(JUnit4.class)
    @NullUnmarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 26 02:41:17 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  10. docs/en/docs/features.md

    ### Tested { #tested }
    
    * 100% <dfn title="The amount of code that is automatically tested">test coverage</dfn>.
    * 100% <dfn title="Python type annotations, with this your editor and external tools can give you better support">type annotated</dfn> code base.
    * Used in production applications.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.9K bytes
    - Click Count (0)
Back to Top