当前位置:网站首页>Salesforce runs all test classes and gets coverage reports
Salesforce runs all test classes and gets coverage reports
2022-07-27 18:11:00 【sf_ wilson】
【 Scene description 】:
#1. If the system is in addition to the code written by itself , It also includes some installation packages , We only need to quickly understand the operation and coverage of the customized part of the code ;
#2. Project development has been used vs code, Want to pass cli Quickly understand the coverage ;
#3. Want to quickly understand the coverage through third-party tools , And easy to download Excel To manage the test section ;
If you have the requirements enumerated above , This article will help you .

【 Method 】:force:apex:test:run
# Run all unit tests with code coverage statistics
sfdx force:apex:test:run -cy -l RunAllTestsInOrg -w 5 -r human
【 Reference material 】:
https://skaruz.com/salesforce-how-to-get-the-code-coverage-of-a-class-org/
https://appexchange.salesforce.com/listingDetail?listingId=a0N3A00000EFoy9UAD
https://help.salesforce.com/articleView?id=000332406&type=1&mode=1
https://jayakrishnasfdc.wordpress.com/2018/12/28/test-code-coverage-of-salesforce-org-different-ways/
https://developer.salesforce.com/blogs/2020/04/salesforce-all-tests-execution.html
Code Coverage Report Generator
边栏推荐
- 知物由学 | 小游戏的安全风险在哪里?
- Operation of simulated examination platform for 2022 low voltage electrician examination questions
- Golang worker pool
- 卷积神经网络——YOLOV1论文翻译
- hutool 字符串工具类
- [user article] examples of P4 consolidation practice guide disassemble resolve
- Profiles vs Permission Sets
- In the first week of June, risk control of e-shield business paid attention to 15 institutions such as New Oriental XRS, which were fined
- You can't specify target table 'table name' for update in from clause error resolution in MySQL
- Convolutional neural network -- from r-cnn, fast r-cnn to fast r-cnn, mask r-cnn
猜你喜欢

Compilation and testing of raspberry pie driver code

In the fourth week of July, Yidun business risk control focused on the supreme law to regulate app's forcible request for personal information

Convolutional neural network -- Introduction to FPN (feature pyramid networks)

机器学习之评价指标(一)——回归评价指标

2022 safety officer-a certificate examination questions and online simulation examination

TCP的连接状态标识 (SYN, FIN, ACK, PSH, RST, URG)

The latest advanced interview questions for big factories are necessary
![[MCU] 2.3 CPU of AT89S52](/img/4c/7b9d235bf8a919339d75a7ec95789f.png)
[MCU] 2.3 CPU of AT89S52

Salesforce certified sharing and visibility Designer (su20) certification examination summary

Knowing things by learning | app slimming down, the way of safety reinforcement under the new generation AAB framework
随机推荐
golang 并发缓存击穿或合并请求
Learn from what you know | Yidun self-developed text real-time clustering technology, and wipe out the same kind of harmful content in social networks
MySQL adds users and grants query only permission
About the problem of abnormal C printing
Code compliance: five reasons why developers use helix QAC
多线程实现循环
Convolutional neural network -- Introduction to FPN (feature pyramid networks)
卷积神经网络——YOLOV2(YOLO9000)论文翻译
Profiles vs Permission Sets
知物由学 | APP大瘦身,新一代AAB框架下的安全加固之道
Introduction to ef framework
浅论分布式训练中的recompute机制
JS中的冒泡排序
【学习笔记】数据库中锁的分类
shell常见命令(1)——变量大小写转换
Common shell commands (1) -- variable case conversion
1542. 找出最长的超赞子字符串 哈希+状态压缩
Evaluation index of machine learning (II) -- classification evaluation index
卷积神经网络之卷积计算过程个人理解
@Scheduled and quartz