Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Salesforce DevOps for Architects
  • Table Of Contents Toc
  • Feedback & Rating feedback
Salesforce DevOps for Architects

Salesforce DevOps for Architects

By : Cowell, Lars Malmqvist
4.8 (11)
close
close
Salesforce DevOps for Architects

Salesforce DevOps for Architects

4.8 (11)
By: Cowell, Lars Malmqvist

Overview of this book

Rob Cowell is a Salesforce DevOps Advocate with extensive experience as a Salesforce Developer and Architect, guiding best practices for Salesforce DevOps. Lars Malmqvist, a 32x certified Salesforce CTA, has 15 years of experience building advanced Salesforce solutions and is the author of two books, Architecting AI Solutions on Salesforce and Salesforce Anti-Patterns. As the Salesforce Platform evolves, architects face increasing demand for advanced solutions. This book serves as your definitive guide to mastering effective DevOps practices crucial for successful Salesforce projects. Beginning with cultivating a DevOps mindset focused on collaboration and communication, it emphasizes governance, visibility, and accountability. You'll delve into tools and techniques, leveraging the robust capabilities of SFDX to craft your strategy efficiently. This book stands out for its practical approach to Salesforce packaging and CI/CD stack creation, guiding you to build a seamless automated change delivery system with freely available software. It addresses critical operational concerns such as ticket management, backups, change monitoring, and data seeding. In the final chapters, you'll discover third-party solutions to expedite your Salesforce DevOps journey, empowering you to deliver sophisticated and efficient projects.
Table of Contents (20 chapters)
close
close

Testing your LWCs

While Salesforce still has more than one approach for developing Lightning components, we’re going to focus on testing LWCs, rather than the older Aura components. Salesforce introduced LWCs in December 2018, with the release of Salesforce’s Spring ’19 version. This was announced in a blog post by Salesforce on December 13, 2018, titled Introducing Lightning Web Components, available at https://developer.salesforce.com/blogs/2018/12/introducing-lightning-web-components.

When it comes to testing LWCs, we can take advantage of the fact that the architecture of this type of component is based on more common JavaScript standards and an open framework. This allows us to write our unit tests using the popular Jest testing framework (https://jestjs.io/), which is already used in the wider JavaScript community outside of Salesforce too. Jest is itself written in JavaScript and uses the Node.js engine to execute, and npm for installation and to manage...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY