积分充值
 首页
前端开发
AngularDartElectronFlutterHTML/CSSJavaScriptReactSvelteTypeScriptVue.js构建工具
后端开发
.NetC#C++C语言DenoffmpegGoIdrisJavaJuliaKotlinLeanMakefilenimNode.jsPascalPHPPythonRISC-VRubyRustSwiftUML其它语言区块链开发测试微服务敏捷开发架构设计汇编语言
数据库
Apache DorisApache HBaseCassandraClickHouseFirebirdGreenplumMongoDBMySQLPieCloudDBPostgreSQLRedisSQLSQLiteTiDBVitess数据库中间件数据库工具数据库设计
系统运维
AndroidDevOpshttpdJenkinsLinuxPrometheusTraefikZabbix存储网络与安全
云计算&大数据
Apache APISIXApache FlinkApache KarafApache KyuubiApache OzonedaprDockerHadoopHarborIstioKubernetesOpenShiftPandasrancherRocketMQServerlessService MeshVirtualBoxVMWare云原生CNCF机器学习边缘计算
综合其他
BlenderGIMPKiCadKritaWeblate产品与服务人工智能亿图数据可视化版本控制笔试面试
文库资料
前端
AngularAnt DesignBabelBootstrapChart.jsCSS3EchartsElectronHighchartsHTML/CSSHTML5JavaScriptJerryScriptJestReactSassTypeScriptVue前端工具小程序
后端
.NETApacheC/C++C#CMakeCrystalDartDenoDjangoDubboErlangFastifyFlaskGinGoGoFrameGuzzleIrisJavaJuliaLispLLVMLuaMatplotlibMicronautnimNode.jsPerlPHPPythonQtRPCRubyRustR语言ScalaShellVlangwasmYewZephirZig算法
移动端
AndroidAPP工具FlutterFramework7HarmonyHippyIoniciOSkotlinNativeObject-CPWAReactSwiftuni-appWeex
数据库
ApacheArangoDBCassandraClickHouseCouchDBCrateDBDB2DocumentDBDorisDragonflyDBEdgeDBetcdFirebirdGaussDBGraphGreenPlumHStreamDBHugeGraphimmudbIndexedDBInfluxDBIoTDBKey-ValueKitDBLevelDBM3DBMatrixOneMilvusMongoDBMySQLNavicatNebulaNewSQLNoSQLOceanBaseOpenTSDBOracleOrientDBPostgreSQLPrestoDBQuestDBRedisRocksDBSequoiaDBServerSkytableSQLSQLiteTiDBTiKVTimescaleDBYugabyteDB关系型数据库数据库数据库ORM数据库中间件数据库工具时序数据库
云计算&大数据
ActiveMQAerakiAgentAlluxioAntreaApacheApache APISIXAPISIXBFEBitBookKeeperChaosChoerodonCiliumCloudStackConsulDaprDataEaseDC/OSDockerDrillDruidElasticJobElasticSearchEnvoyErdaFlinkFluentGrafanaHadoopHarborHelmHudiInLongKafkaKnativeKongKubeCubeKubeEdgeKubeflowKubeOperatorKubernetesKubeSphereKubeVelaKumaKylinLibcloudLinkerdLonghornMeiliSearchMeshNacosNATSOKDOpenOpenEBSOpenKruiseOpenPitrixOpenSearchOpenStackOpenTracingOzonePaddlePaddlePolicyPulsarPyTorchRainbondRancherRediSearchScikit-learnServerlessShardingSphereShenYuSparkStormSupersetXuperChainZadig云原生CNCF人工智能区块链数据挖掘机器学习深度学习算法工程边缘计算
UI&美工&设计
BlenderKritaSketchUI设计
网络&系统&运维
AnsibleApacheAWKCeleryCephCI/CDCurveDevOpsGoCDHAProxyIstioJenkinsJumpServerLinuxMacNginxOpenRestyPrometheusServertraefikTrafficUnixWindowsZabbixZipkin安全防护系统内核网络运维监控
综合其它
文章资讯
 上传文档  发布文章  登录账户
IT文库
  • 综合
  • 文档
  • 文章

无数据

分类

全部后端开发(8)PHP(8)CakePHP(8)

语言

全部英语(8)

格式

全部PDF文档 PDF(4)其他文档 其他(4)
 
本次搜索耗时 0.194 秒,为您找到相关结果约 8 个.
  • 全部
  • 后端开发
  • PHP
  • CakePHP
  • 全部
  • 英语
  • 全部
  • PDF文档 PDF
  • 其他文档 其他
  • 默认排序
  • 最新排序
  • 页数排序
  • 大小排序
  • 全部时间
  • 最近一天
  • 最近一周
  • 最近一个月
  • 最近三个月
  • 最近半年
  • 最近一年
  • epub文档 CakePHP Cookbook 2.x

    controllers and components easier. Instead of having methods spread across several objects, you only have to mock a single object, since controllers and components delegate to CakeResponse. This helps you to get knows to use your test database connection. Mocking model methods There will be times you’ll want to mock methods on models when testing them. You should use getMockForModel to create testing mocks of models cases allows you to use testAction() for simpler test cases. ControllerTestCase allows you to easily mock out components and models, as well as potentially difficult to test methods like redirect(). Say
    0 码力 | 1096 页 | 958.62 KB | 1 年前
    3
  • pdf文档 CakePHP Cookbook 2.x

    controllers and components easier. Instead of having methods spread across several objects, you only have to mock a single object, since controllers and components delegate to CakeResponse. This helps you to get CakePHP Cookbook Documentation, Release 2.x Mocking model methods There will be times you’ll want to mock methods on models when testing them. You should use getMockForModel to create testing mocks of models cases allows you to use testAction() for simpler test cases. ControllerTestCase allows you to easily mock out components and models, as well as potentially difficult to test methods like redirect(). Say
    0 码力 | 820 页 | 2.52 MB | 1 年前
    3
  • epub文档 CakePHP Cookbook Documentation 5.x

    ias, $config) When loading tables from the registry you can customize their dependencies, or use mock objects by providing an $options array: $articles = FactoryLocator::get('Table')->get('Articles' During test cases you may want to flush the registry. Doing so is often useful when you are using mock objects, or modifying a table’s dependencies: FactoryLocator::get('Table')->clear(); Configuring provide many commonly used options to find(). This can help with testing as there are fewer methods to mock: // In a controller or table method. $query = $articles->find('all', conditions: ['Articles.created
    0 码力 | 1080 页 | 939.39 KB | 1 年前
    3
  • epub文档 CakePHP Cookbook 4.x

    This method enables services injected with the Dependency Injection container to be replaced with mock or stub objects. View Context classes now include the comment, null, and default metadata options ias, $config) When loading tables from the registry you can customize their dependencies, or use mock objects by providing an $options array: $articles = FactoryLocator::get('Table')->get('Articles' During test cases you may want to flush the registry. Doing so is often useful when you are using mock objects, or modifying a table’s dependencies: FactoryLocator::get('Table')->clear(); Configuring
    0 码力 | 1249 页 | 1.04 MB | 1 年前
    3
  • pdf文档 CakePHP Cookbook Documentation 5.x

    ias, $config) When loading tables from the registry you can customize their dependencies, or use mock objects by providing an $options array: $articles = FactoryLocator::get('Table')->get('Articles' During test cases you may want to flush the registry. Doing so is often useful when you are using mock objects, or modifying a table’s dependencies: FactoryLocator::get('Table')->clear(); Configuring provide many commonly used options to find(). This can help with testing as there are fewer methods to mock: // In a controller or table method. $query = $articles->find('all', conditions: ['Articles.created
    0 码力 | 848 页 | 2.53 MB | 1 年前
    3
  • pdf文档 CakePHP Cookbook 4.x

    enables services injected with the /development/dependency-injection container to be replaced with mock or stub objects. View • Context classes now include the comment, null, and default metadata options ias, $config) When loading tables from the registry you can customize their dependencies, or use mock objects by providing an $options array: $articles = FactoryLocator::get('Table')->get('Articles' During test cases you may want to flush the registry. Doing so is often useful when you are using mock objects, or modifying a table’s dependencies: FactoryLocator::get('Table')->clear(); Configuring
    0 码力 | 967 页 | 2.88 MB | 1 年前
    3
  • epub文档 CakePHP Cookbook 3.x

    you to create mocks that still execute the original code. This aligns the behavior with how PHPUnit mock objects work. Added EmailTrait to help facilitate testing emails. The default messages for integration ias, $config) When loading tables from the registry you can customize their dependencies, or use mock objects by providing an $options array: // Prior to 3.6 use TableRegistry::get() $articles = Tab During test cases you may want to flush the registry. Doing so is often useful when you are using mock objects, or modifying a table’s dependencies: // Prior to 3.6 use TableRegistry::clear() TableRe
    0 码力 | 1244 页 | 1.05 MB | 1 年前
    3
  • pdf文档 CakePHP Cookbook 3.x

    you to create mocks that still execute the original code. This aligns the behavior with how PHPUnit mock objects work. • Added EmailTrait to help facilitate testing emails. • The default messages for integration ias, $config) When loading tables from the registry you can customize their dependencies, or use mock objects by providing an $options array: // Prior to 3.6 use TableRegistry::get() $articles = Tab During test cases you may want to flush the registry. Doing so is often useful when you are using mock objects, or modifying a table’s dependencies: // Prior to 3.6 use TableRegistry::clear() TableRe
    0 码力 | 967 页 | 2.80 MB | 1 年前
    3
共 8 条
  • 1
前往
页
相关搜索词
CakePHPCookbookPHP
IT文库
关于我们 文库协议 联系我们 意见反馈 免责声明
本站文档数据由用户上传或本站整理自互联网,不以营利为目的,供所有人免费下载和学习使用。如侵犯您的权益,请联系我们进行删除。
IT文库 ©1024 - 2025 | 站点地图
Powered By MOREDOC AI v3.3.0-beta.70
  • 关注我们的公众号【刻舟求荐】,给您不一样的精彩
    关注我们的公众号【刻舟求荐】,给您不一样的精彩