With SalesforceDX now on general release, we thought it was time to give it a test run with Provar. After a few late nights last week, the team got everything up and running in time for a sneak peek during our latest webinar about Integrating Test Automation with SalesforceDX. Read on to find out how it went…
So what is Salesforce DX?
Salesforce DX is an interesting new concept that’s been in the works for a while but has now gone GA as of Winter 18.
The key idea is that it provides Scratch Orgs that you can spin up quickly for Integrating your test automation with SalesforceDX deployments. Once you’ve signed up for a DevHub account, you can rapidly generate a Scratch Org, push your latest code to it, test it out, then discard it.
Unlike sandboxes, Scratch Orgs only exist for a brief period, so the best approach is to create a new Scratch Org every time you want to deploy. After you’ve tested your deployment in the Scratch Org, you can discard it immediately.
What’s the benefit of Salesforce DX?
Salesforce DX helps to mitigate some of the risks associated with standard Salesforce deployments. It will help us move towards a single point of truth with source control and provide tools to hook everything into a Continuous Integration cycle.
How does Provar work with Salesforce DX?
When Provar and Salesforce DX are used together, we can generate a Scratch Org, push our latest code to it, then run our Provar tests inside the Scratch Org to get functional testing insights.
Provar and Salesforce DX work nicely with Git and Jenkins, so this is surprisingly easy to set up.
See it in action
See the demo video below to see Provar working with Salesforce DX.
Want to know more?
Get in touch if you want to discuss how our test automation works with Salesforce DX.