- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,750 for testLang (0.24 sec)
-
src/go/version/version_test.go
{"go1.99999999999999998", "go1.99999999999999999", -1}, } func TestLang(t *testing.T) { test1(t, langTests, "Lang", Lang) } var langTests = []testCase1[string, string]{ {"bad", ""}, {"go1.2rc3", "go1.2"}, {"go1.2.3", "go1.2"}, {"go1.2", "go1.2"}, {"go1", "go1"}, {"go222", "go222.0"}, {"go1.999testmod", "go1.999"}, } func TestIsValid(t *testing.T) { test1(t, isValidTests, "IsValid", IsValid) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 19:56:48 UTC 2024 - 2.6K bytes - Viewed (0) -
docs/en/docs/tutorial/testing.md
# Testing Thanks to <a href="https://www.starlette.io/testclient/" class="external-link" target="_blank">Starlette</a>, testing **FastAPI** applications is easy and enjoyable. It is based on <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a>, which in turn is designed based on Requests, so it's very familiar and intuitive.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 6.2K bytes - Viewed (0) -
pkg/kube/krt/testing.go
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package krt // Dump is a *testing* helper to dump the state of a collection, if possible, into logs. func Dump[O any](c Collection[O]) { c.(internalCollection[O]).dump() } type TestingDummyContext struct{}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 1.1K bytes - Viewed (0) -
cmd/kubeadm/app/util/pkiutil/testing/testing.go
See the License for the specific language governing permissions and limitations under the License. */ package testing import ( "crypto" "fmt" "os" "path/filepath" "regexp" "runtime" "runtime/debug" "strings" "sync" "testing" kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm" "k8s.io/kubernetes/cmd/kubeadm/app/util/pkiutil" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 21:49:21 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/python/testing.py
# See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== """Common testing utilities for quantization libraries.""" import itertools import os from typing import Any, Mapping, Sequence def parameter_combinations( test_parameters: Sequence[Mapping[str, Sequence[Any]]]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 08:51:46 UTC 2024 - 2.2K bytes - Viewed (0) -
docs/zh/docs/advanced/testing-websockets.md
为此,要在 `with` 语句中使用 `TestClient` 连接 WebSocket。 ```Python hl_lines="27-31" {!../../../docs_src/app_testing/tutorial002.py!} ``` !!! note "笔记"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun Jan 28 18:12:29 UTC 2024 - 418 bytes - Viewed (0) -
docs/de/docs/advanced/testing-websockets.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 20:17:48 UTC 2024 - 522 bytes - Viewed (0) -
docs/zh/docs/tutorial/testing.md
Nils Lindemann <******@****.***> 1713469999 +0200
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 6K bytes - Viewed (0) -
hack/verify-testing-import.sh
# limitations under the License. # This script checks whether the testing.init symbol is present in any # of the release binaries and fails if it finds one. This check is needed # to avoid including test libraries in production binaries as they often lack # rigorous review and sufficient testing. # Usage: `hack/verify-test-code.sh`. set -o errexit set -o nounset set -o pipefail
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 25 11:56:42 UTC 2024 - 1.8K bytes - Viewed (0) -
docs/zh/docs/advanced/testing-database.md
# 测试数据库 您还可以使用[测试依赖项](testing-dependencies.md){.internal-link target=_blank}中的覆盖依赖项方法变更测试的数据库。 实现设置其它测试数据库、在测试后回滚数据、或预填测试数据等操作。 本章的主要思路与上一章完全相同。 ## 为 SQL 应用添加测试 为了使用测试数据库,我们要升级 [SQL 关系型数据库](../tutorial/sql-databases.md){.internal-link target=_blank} 一章中的示例。 应用的所有代码都一样,直接查看那一章的示例代码即可。 本章只是新添加了测试文件。 正常的依赖项 `get_db()` 返回数据库会话。 测试时使用覆盖依赖项返回自定义数据库会话代替正常的依赖项。 本例中,要创建仅用于测试的临时数据库。 ## 文件架构
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun Jan 28 18:09:26 UTC 2024 - 2.8K bytes - Viewed (0)