☁️
SalesforceCRM.cn
首页
产品
文章
培训
关于我
Batch Apex — Testing, Limitations & Best Practices
DEX455 - 异步 Apex 完全指南:Queueable、Scheduled、Batch 与 Future 方法
📄 第 249 页
🎬 视频课程
首页
/
认证培训
/
DEX455
/
异步 Apex 完全指南:Queueable、Scheduled、Batch 与 Future 方法
/
Batch Apex — Testing, Limitations & Best Practices
课程章节介绍
各位同学,咱们今天来看看批处理Apex在测试和一些限制方面的要点。这些内容比较零散,但是很实用,我会尽量用大白话讲清楚。 首先说说测试批处理Apex。在写测试代码的时候,我们要把批处理执行的部分放在 `Test.startTest()` 和 `Test.stopTest()` 之间。当你调用 `Test.stopTest()` 的时候,Salesforce会立刻同步执行你排队的那个批
关键词
Apex
Salesforce
Developer Guide