- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 242 for testDI (0.04 seconds)
-
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 Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 5.1K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzerTest.java
assertTrue(result.isPresent(), "Expected " + result + ".isPresent() to return true"); assertEquals(asList("test:B", "test:C"), result.get().getRemainingProjects()); } @Test void projectsFailingAfterAnotherFailedProjectAreNotExcluded() { MavenProject projectA = createSucceededMavenProject("A");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 5.9K bytes - Click Count (0) -
docs/pt/docs/advanced/async-tests.md
# Testes Assíncronos { #async-tests } Você já viu como testar as suas aplicações **FastAPI** utilizando o `TestClient` que é fornecido. Até agora, você viu apenas como escrever testes síncronos, sem utilizar funções `async`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.5K bytes - Click Count (0) -
docs/pt/docs/tutorial/testing.md
/// tip | Dica Se você quiser chamar funções `async` em seus testes além de enviar solicitações à sua aplicação FastAPI (por exemplo, funções de banco de dados assíncronas), dê uma olhada em [Testes assíncronos](../advanced/async-tests.md){.internal-link target=_blank} no tutorial avançado. /// ## Separando testes { #separating-tests } Em uma aplicação real, você provavelmente teria seus testes em um arquivo diferente.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* * <p>To use this class the concrete subclass must implement the {@link * IteratorTester#newTargetIterator()} method. This is because it's impossible to test an Iterator * without changing its state, so the tester needs a steady supply of fresh Iterators. * * <p>If your iterator supports modification through {@code remove()}, you may wish to override the * verify() method, which is called after each sequence and is guaranteed to be calledCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 4.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* * <p>To use this class the concrete subclass must implement the {@link * IteratorTester#newTargetIterator()} method. This is because it's impossible to test an Iterator * without changing its state, so the tester needs a steady supply of fresh Iterators. * * <p>If your iterator supports modification through {@code remove()}, you may wish to override the * verify() method, which is called after each sequence and is guaranteed to be calledCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 4.3K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild.integration-tests.gradle.kts
createTasks(sourceSet, TestType.INTEGRATION) configureIde(TestType.INTEGRATION) createTestTask("integMultiVersionTest", "forking", sourceSet, TestType.INTEGRATION) { // This test task runs only multi-version tests and is intended to be used in the late pipeline to sweep up versions not previously tested includeSpockAnnotation("org.gradle.integtests.fixtures.compatibility.MultiVersionTestCategory") (options as JUnitPlatformOptions).includeEngines("spock")Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Aug 18 16:39:23 GMT 2025 - 2.4K bytes - Click Count (5) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
/** * Asks for {@link Object#equals} and {@link Object#hashCode} to be tested. That is, forwarding * wrappers of equal instances should be equal. */ @CanIgnoreReturnValue public ForwardingWrapperTester includingEquals() { this.testsEquals = true; return this; } /** * Tests that the forwarding wrapper returned by {@code wrapperFunction} properly forwards methodCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
/** * Asks for {@link Object#equals} and {@link Object#hashCode} to be tested. That is, forwarding * wrappers of equal instances should be equal. */ @CanIgnoreReturnValue public ForwardingWrapperTester includingEquals() { this.testsEquals = true; return this; } /** * Tests that the forwarding wrapper returned by {@code wrapperFunction} properly forwards methodCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
fess-crawler/src/test/resources/html/test1.html
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Oct 11 02:16:55 GMT 2015 - 289 bytes - Click Count (0)