Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 2,432 for testng (0.06 seconds)

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

    # Tests asynchrones { #async-tests }
    
    Vous avez déjà vu comment tester vos applications **FastAPI** en utilisant le `TestClient` fourni. Jusqu'à présent, vous n'avez vu que comment écrire des tests synchrones, sans utiliser de fonctions `async`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  2. 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 (
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
  3. docs/zh/docs/advanced/async-tests.md

    `TestClient` 是基于 [HTTPX](https://www.python-httpx.org) 的。幸运的是,我们可以直接使用它来测试 API。
    
    ## 示例 { #example }
    
    举个简单的例子,让我们来看一个与[更大的应用](../tutorial/bigger-applications.md)和[测试](../tutorial/testing.md)中描述的类似文件结构:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    文件 `main.py` 将包含:
    
    {* ../../docs_src/async_tests/app_a_py310/main.py *}
    
    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. tests/test_additional_responses_router.py

    app.include_router(router)
    
    
    client = TestClient(app)
    
    
    def test_a():
        response = client.get("/a")
        assert response.status_code == 200, response.text
        assert response.json() == "a"
    
    
    def test_b():
        response = client.get("/b")
        assert response.status_code == 200, response.text
        assert response.json() == "b"
    
    
    def test_c():
        response = client.get("/c")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  5. .github/ISSUE_TEMPLATE/flaking-test.yaml

        validations:
          required: true
    
      - type: textarea
        id: tests
        attributes:
          label: Which tests are flaking?
        validations:
          required: true
    
      - type: textarea
        id: since
        attributes:
          label: Since when has it been flaking?
        validations:
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Tue Oct 05 16:55:38 GMT 2021
    - 1.4K bytes
    - Click Count (0)
  6. .github/workflows/tests.yml

            with:
              path: ~/go/pkg/mod
              key: ${{ runner.os }}-go-${{ matrix.go }}-${{ hashFiles('tests/go.mod') }}
    
          - name: Tests
            run: GITHUB_ACTION=true GORM_DIALECT=tidb GORM_DSN="root:@tcp(localhost:9940)/test?charset=utf8&parseTime=True&loc=Local" ./tests/tests_all.sh
    
      gaussdb:
        strategy:
          matrix:
            dbversion: ['opengauss/opengauss:7.0.0-RC1.B023']
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Mar 23 10:05:06 GMT 2026
    - 9K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            assertTrue(result.getWarnings().get(1).contains("test:g"));
        }
    
        @Test
        void testBadDependencyManagementScope() throws Exception {
            SimpleProblemCollector result = validate("bad-dependency-management-scope.xml");
    
            assertViolations(result, 0, 0, 1);
    
            assertContains(result.getWarnings().get(0), "test:g");
        }
    
        @Test
        void testBadDependencyVersion() throws Exception {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  8. 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)
  9. .ci/jobs.t/elastic+elasticsearch+periodic+packaging-tests.yml

        name: elastic+elasticsearch+%BRANCH%+periodic+packaging-tests
        display-name: "elastic / elasticsearch # %BRANCH% - packaging tests"
        description: "Testing of the Elasticsearch %BRANCH% branch packaging tests.\n"
        project-type: multijob
        node: master
        vault: []
        scm:
          - git:
              wipe-workspace: false
        builders:
          - multijob:
              name: Packaging tests
              projects:
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 06 21:46:09 GMT 2021
    - 999 bytes
    - Click Count (0)
  10. build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts

        }
    }
    notForAccessorGeneration {
        dependencies {
            sharedArchTestClasses(project(":internal-architecture-testing"))
        }
    }
    
    testing {
        suites {
            create("archTest", JvmTestSuite::class) {
                project.jvmCompile {
                    addCompilationFrom(sources)
                }
    
                dependencies {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 10 08:11:56 GMT 2026
    - 3.4K bytes
    - Click Count (0)
Back to Top