Continuous Testing forms an essential part of the DevOps process and is key to any large-scale Salesforce delivery. It’s also easy to achieve with Provar’s Salesforce test automation. Read on to learn more.
So what is Continuous Testing?
A relatively new term, Continuous Testing just means executing your automated testing on a regular basis as part of your software delivery pipeline. Testing more regularly gives more rapid feedback on the software release candidate and any business risks associated with it.
Continuous Testing extends test automation to address the increased complexity and speed of Salesforce application development and delivery. It ensures testing can match the pace of the rest of your team’s activities.
What does Continuous Testing look like?
The image above shows a standard Continuous Testing flow in Provar.
Continuous Testing works like this: you develop your test cases and schedule them to run nightly against your developers’ latest Salesforce work.
When the tests finish, they send an execution report to the team so that everyone can see the results in the morning.
The next day, you carry on working on your test cases while your developers carry on with their own work. The next night, the tests run again.
This way, you are performing continuous testing in Salesforce and getting continuous feedback about the status of your next deployment. Using Version Control, you can also make sure that you’re always testing with the latest version of your test cases against the latest version of your entire team’s work. That includes code as well as declarative features which can be equally hard to test, such as process builder, workflows, approvals and flows.
There are plenty of other applications for Continuous Testing in Salesforce. For example, some customers use automation to run a smoke test after every check-in. Others might use it for automated health checks in test environments, running the tests with real data on a defined frequency, such as every 10 minutes.
What are the benefits of Continuous Testing?
Having regular Continuous Testing in Salesforce reduces the risks associated with a large program of work.
Continuous Testing also increases confidence within the team and beyond it: anyone who needs visibility of the current build status can get it automatically from the execution report. There’s no need to go and ask anyone for different updates; you can instantly see the information required in a defined and consistent format.
In general, test automation also reduces overhead, in that it’s reducing manual testing as far as possible, being scheduled and executed automatically. This benefit is just increased by Continuous Testing, which reuses your test automation to perform regular regression testing without any additional effort. Think of it as free feedback on your release candidate.
In addition, Continuous Testing ensures consistency, as there is already a process set up: we know that no steps are accidentally being missed, and we know that everything is going to be run the way we expect.
Our customer Tes Global recently filmed a video with us discussing the benefits of Continuous Testing in Salesforce. Check it out below.
How does Provar achieve Continuous Testing in Salesforce?
Provar has some unique features which are essential to achieving Continuous Testing in Salesforce.
- Reliable tests: Continuous Testing needs the tests to run reliably across any environment and in Lightning or Classic. Provar uses integration with Salesforce metadata to build more reliable tests and locate fields more easily. Using this integration, tests can be run across different environments without needing to make changes to the tests. A Provar test can be run equally well in Lightning or Classic, giving you confidence before your Lightning Experience rollout and beyond.
- End-to-end testing: Continuous Testing requires more than just Salesforce testing; it needs integration testing as well. Provar provides support for database testing, SOAP and REST Web Services testing and email testing through Gmail and Microsoft Exchange.
- API and UI testing: Continuous Testing works best when API and UI testing is combined. Provar supports both types of testing without the need for code, giving better control and efficiency in its test cases.
- Salesforce specialism: Continuous Testing in Salesforce requires the ability to cover any Salesforce scenario. That’s why Provar has a deep support for Salesforce features, both native and partner, including Lightning Sales and Service Cloud, Salesforce CPQ and many partner tools such as Servicemax and Skuid.
- Integrated tool: Continuous Testing works best when it’s integrated to the rest of your toolkit. Provar provides straightforward support for many different integrations, including Jira, Git, Jenkins, Team Foundation Server and many more. Watch the video below to see a few of these in action.
How can I set up Continuous Testing in Salesforce?
Provar makes it quick and easy to create test automation and extend it into Continuous Testing.
In our latest webinar, Product Manager Geraint Waters did a live demo of how Provar’s automated tests can be integrated with Git and Jenkins to achieve easy Continuous Testing in Salesforce without the need for code.
Watch the video below to see how it works.
Want to know more about Continuous Testing in Salesforce?
Get in touch if you’d like to learn more about how to achieve Continuous Testing in Salesforce. Alternatively, you can read more about Provar and Continuous Testing in the Provar help pages. If you’re new to test automation and want a quick introduction, take a look at our guest blog on Salesforce Ben, What is Test Automation in Salesforce and Why Does it Matter?