4

Testing Your Changes

One of the core tenets of DevOps is the ability to deliver robust changes that stand up to scrutiny, have fewer defects, and ultimately reduce the Change Failure Rate (CFR) metric. This can be largely achieved through testing our development changes.

In this chapter, we’ll explore the importance of robustly testing Salesforce changes, the different types of testing that apply to your components, and how to ensure proper testing as part of your DevOps process.

We will be covering the following main topics:

  • The importance of testing
  • Apex testing
  • Testing your Lightning Web Components (LWCs)
  • Testing your flows

By the end of this chapter, you should be well equipped to create and run tests within Salesforce that exercise ...

Get Salesforce DevOps for Architects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.