- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,731 for testify (0.28 sec)
-
guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
import com.google.common.collect.ObjectArrays; import com.google.common.collect.testing.ListTestSuiteBuilder; import com.google.common.collect.testing.SampleElements; import com.google.common.collect.testing.TestListGenerator; import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.collect.testing.features.CollectionSize; import com.google.common.testing.EqualsTester; import java.util.ArrayList; import java.util.Arrays;
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 20.2K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_testing_databases.py
import importlib import os from pathlib import Path import pytest from ...utils import needs_pydanticv1 # TODO: pv2 add version with Pydantic v2 @needs_pydanticv1 def test_testing_dbs(tmp_path_factory: pytest.TempPathFactory): tmp_path = tmp_path_factory.mktemp("data") cwd = os.getcwd() os.chdir(tmp_path) test_db = Path("./test.db") if test_db.is_file(): # pragma: nocover test_db.unlink()
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 788 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()` 返回数据库会话。 测试时使用覆盖依赖项返回自定义数据库会话代替正常的依赖项。 本例中,要创建仅用于测试的临时数据库。 ## 文件架构
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Jan 28 18:09:26 GMT 2024 - 2.8K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.23.md
- Support pod priority based node graceful shutdown (#102915, @wzshiming) [SIG Node and Testing] ### Feature - CRI v1 is now the project default. If a container runtime does not support the v1 API, Kubernetes will fall back to the v1alpha2 implementation. (#106501, @ehashman) [SIG Network, Node and Testing] ### Bug or Regression
Plain Text - Registered: Fri May 03 09:05:14 GMT 2024 - Last Modified: Tue Feb 28 21:06:52 GMT 2023 - 424.5K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.25.md
- Kubernetes is now built with Golang 1.18.2 ([#110043](https://github.com/kubernetes/kubernetes/pull/110043), [@cpanato](https://github.com/cpanato)) [SIG Release and Testing] - Kubernetes is now built with Golang 1.18.3 ([#110421](https://github.com/kubernetes/kubernetes/pull/110421), [@cpanato](https://github.com/cpanato)) [SIG Release and Testing]
Plain Text - Registered: Fri May 03 09:05:14 GMT 2024 - Last Modified: Thu Nov 16 11:30:31 GMT 2023 - 419K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
import com.google.common.collect.ObjectArrays; import com.google.common.collect.testing.ListTestSuiteBuilder; import com.google.common.collect.testing.SampleElements; import com.google.common.collect.testing.TestListGenerator; import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.collect.testing.features.CollectionSize; import com.google.common.testing.EqualsTester; import java.util.ArrayList; import java.util.Arrays;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 06 15:23:21 GMT 2023 - 20K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
import com.google.common.collect.ObjectArrays; import com.google.common.collect.testing.ListTestSuiteBuilder; import com.google.common.collect.testing.SampleElements; import com.google.common.collect.testing.TestListGenerator; import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.collect.testing.features.CollectionSize; import com.google.common.testing.EqualsTester; import java.util.ArrayList; import java.util.Arrays;
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 20.2K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_testing_databases_py310.py
import importlib import os from pathlib import Path import pytest from ...utils import needs_py310, needs_pydanticv1 @needs_py310 # TODO: pv2 add version with Pydantic v2 @needs_pydanticv1 def test_testing_dbs_py39(tmp_path_factory: pytest.TempPathFactory): tmp_path = tmp_path_factory.mktemp("data") cwd = os.getcwd() os.chdir(tmp_path) test_db = Path("./test.db") if test_db.is_file(): # pragma: nocover
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 825 bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.24.md
- No ([#108432](https://github.com/kubernetes/kubernetes/pull/108432), [@iXinqi](https://github.com/iXinqi)) [SIG Testing and Windows] - PreFilter extension in the scheduler framework now returns not only status but also PreFilterResult ([#108648](https://github.com/kubernetes/kubernetes/pull/108648), [@ahg-g](https://github.com/ahg-g)) [SIG Scheduling, Storage and Testing]
Plain Text - Registered: Fri May 03 09:05:14 GMT 2024 - Last Modified: Thu Aug 24 00:02:43 GMT 2023 - 473.4K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_testing_databases_py39.py
import importlib import os from pathlib import Path import pytest from ...utils import needs_py39, needs_pydanticv1 @needs_py39 # TODO: pv2 add version with Pydantic v2 @needs_pydanticv1 def test_testing_dbs_py39(tmp_path_factory: pytest.TempPathFactory): tmp_path = tmp_path_factory.mktemp("data") cwd = os.getcwd() os.chdir(tmp_path) test_db = Path("./test.db") if test_db.is_file(): # pragma: nocover
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 822 bytes - Viewed (0)