- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 288 for AyTest (0.17 sec)
-
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractDefaultTestOrderingIntegrationTest.groovy
""".stripIndent() } def "test classes are scanned and run in deterministic order by default"() { addEmptyTestClass("AdTest") addEmptyTestClass("AATest") addEmptyTestClass("AyTest") addEmptyTestClass("AÆTest") addEmptyTestClass("ACTest") addEmptyTestClass("AÄTest") addEmptyTestClass("AZTest") addEmptyTestClass("AbTest")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestLauncherTestSpecCrossVersionSpec.groovy
.includeClass('example.MyTest') .includeClass('example2.MyOtherTest2') } } then: events.testClassesAndMethods.size() == 5 assertTestExecuted(className: 'example.MyTest', methodName: 'foo', task: ':secondTest') assertTestExecuted(className: 'example.MyTest', methodName: 'foo2', task: ':secondTest')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 12.2K bytes - Viewed (0) -
tests/utils.py
import sys import pytest from fastapi._compat import PYDANTIC_V2 needs_py39 = pytest.mark.skipif(sys.version_info < (3, 9), reason="requires python3.9+") needs_py310 = pytest.mark.skipif( sys.version_info < (3, 10), reason="requires python3.10+" ) needs_pydanticv2 = pytest.mark.skipif(not PYDANTIC_V2, reason="requires Pydantic v2")
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 422 bytes - Viewed (0) -
tests/test_tutorial/test_websockets/test_tutorial002_an.py
def test_websocket_no_credentials(): client = TestClient(app) with pytest.raises(WebSocketDisconnect): with client.websocket_connect("/items/foo/ws"): pytest.fail( "did not raise WebSocketDisconnect on __enter__" ) # pragma: no cover def test_websocket_invalid_data(): client = TestClient(app) with pytest.raises(WebSocketDisconnect):
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy
when: launchTests(testDescriptors("example.MyTest")); then: assertTaskExecuted(":test") assertTaskExecuted(":secondTest") assertTestExecuted(className: "example.MyTest", methodName: "foo", task: ":test") assertTestExecuted(className: "example.MyTest", methodName: "foo", task: ":secondTest") assertTestExecuted(className: "example.MyTest", methodName: "foo2", task: ":test")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 06:59:43 UTC 2024 - 22.6K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/AbstractConsoleJvmTestLoggingFunctionalTest.groovy
assert !taskOutput.contains("""MyTest > testExpectation ${TestLogEvent.STANDARD_OUT.consoleMarker} standard output""") assert !taskOutput.contains("""MyTest > testExpectation ${TestLogEvent.STANDARD_ERROR.consoleMarker} standard error""") } else { outputDoesNotContain("""MyTest > testExpectation ${TestLogEvent.STANDARD_OUT.consoleMarker} standard output""")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 14:21:18 UTC 2024 - 8.5K bytes - Viewed (0) -
tests/test_tutorial/test_websockets/test_tutorial002_an_py310.py
client = TestClient(app) with pytest.raises(WebSocketDisconnect): with client.websocket_connect("/items/foo/ws"): pytest.fail( "did not raise WebSocketDisconnect on __enter__" ) # pragma: no cover @needs_py310 def test_websocket_invalid_data(app: FastAPI): client = TestClient(app) with pytest.raises(WebSocketDisconnect):
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TestProgressCrossVersionSpec.groovy
def testClass = events.operation("Test class example.MyTest") testClass.descriptor.jvmTestKind == JvmTestKind.SUITE testClass.descriptor.name == 'example.MyTest' testClass.descriptor.displayName == 'Test class example.MyTest' testClass.descriptor.suiteName == 'example.MyTest' testClass.descriptor.className == 'example.MyTest' testClass.descriptor.methodName == null
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 06:59:43 UTC 2024 - 21.5K bytes - Viewed (0) -
mockwebserver-junit5/README.md
method parameter. It will be shut down automatically after the test runs. ``` class MyTest { @Test void test(MockWebServer server) { ... } } ``` Alternately you may add the [MockWebServer] as a constructor parameter: ``` class MyTest { private final MockWebServer server; MyTest(MockWebServer server) { this.server = server; } @Test void test() { ...
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 1.3K bytes - Viewed (0) -
tests/test_ambiguous_params.py
import pytest from fastapi import Depends, FastAPI, Path from fastapi.param_functions import Query from fastapi.testclient import TestClient from fastapi.utils import PYDANTIC_V2 from typing_extensions import Annotated app = FastAPI() def test_no_annotated_defaults(): with pytest.raises( AssertionError, match="Path parameters cannot have a default value" ): @app.get("/items/{item_id}/")
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Dec 12 00:22:47 UTC 2023 - 2.1K bytes - Viewed (0)