SlideShare a Scribd company logo
Reminders
Dreamforce 18 - Call for Papers now open
https://www.salesforce.com/dreamforce/call-for-speakers/
Lightning Now Tour
Developers >>> bit.ly/lightning-now-developer
Sales Admins >>> bit.ly/lightning-now-sales-admin
Integrating Test Automation
with SalesforceDX
Geraint Waters
Richard Clark
What is Salesforce DX?
A new set of tools that streamlines the entire
application life cycle.
Improves team development and collaboration,
facilitates automated testing & continuous integration;
makes the release cycle more efficient and agile.
SalesforceDX Key Features
Disposable scratch orgs
Source driven, not org driven development
Special Salesforce CLI commands, open platform
Fundamental skill for Packaging 2.0
Containerize & Version
your Applications
• Improves parallel
development
• Clearer visibility of
versions
• Easier rollback
Same tools for
sandboxes as
development
• Link existing
environments with
your DevHub
Package Types
• Unlocked Packages
for Customers
• Developer Controlled
Packages for ISVs
• Both can have
namespaces
Why Packaging 2.0 ?
2GP Environments
Scratch
Org
Scratch
Org
Scratch
Org
Scratch
Org
Code
Develop + Unit Test
Continuous
Integration
On check-in:
Compile & Unit Test
Continuous
Delivery
Build & Install: Staging
and UAT
Continuous
Delivery Release
Install: Training and
Production
Dev Pro
SBX
Partial
SBX
Full
SBX
PROD
Version Control System (repo)
force:package2:version:create
force:package:install
force:source:push
fource:source:pull
force:package2:version:create
force:package:install
The SFDX Application Lifecycle
Packaging to
streamline
delivery to prod
Sandboxes for
performance testing,
UAT, staging
Continuous Delivery /
build automation
CLI integration
with 3rd party
editors
Force.com IDE
(built on CLI)
Scratch orgs for
devs, built off of
source
Continuous
integration with test
automation
VCS as the
source of
truth
RELEASE
PLAN
CODE
BUILD
TEST
Why Test Automation?
Manual testing is costly and time consuming
Enables Agile development
Catches defects early
What is Continuous Testing?
Process of executing
automated tests as part
of the software delivery
pipeline
Forms your DevOps
process with Continuous
Integration and
Continuous Deployment
Essential for Agile and
DevOps success
Advantages of Continuous Testing
Mitigate
risk
Increase
confidence
Improve
communi-
cation
Reduce
overhead
Ensure
consistency
Why Provar ?
UI and API Testing expert for Salesforce
Intelligent tests using Metadata
End to End Testing
Demonstrations
Create Provar Test Case(s)
Check-in to Source Control
SFDX Deployment Pipeline
Continuous Testing & Reporting
VCS Checkout: checkout scm
Auth Dev Hub: sfdx
force:auth:jwt:grant
Create Scratch Org: sfdx force:org:create
Generate Password: sfdx
force:user:password:generate
Push Deployment: sfdx force:source:push
Assign Permission Set: sfdx
force:user:permset:assign
Run Apex Unit Tests: sfdx force:apex:test:run
Load Test Data: sfdx
force:data:tree:import
Run UI & API Tests: ant -f ANT/build.xml
Pipeline Commands
SalesforceDX Development Model 2yoq5TS
Get Started with SalesforceDX 2ynk0XR
SFDX Dev Guide(CI with Jenkins) 2yncBI1
SalesforceDX Integration with Provar ProvarDX1
Free AppExch Test Results App
ProvarTIR
Further information:
bit.ly
Geraint Waters
@GeraintWaters
Richard Clark
@RichClark808
Any Questions?
Quiz Time!
kahoot.it
<Enter Game PIN>

More Related Content

PDF
London SF Developers: Custom Lightning Component Error Handling
PDF
Testing lightning components feb 15th 2018
PPT
Test automation process
PDF
Katalon Studio - Successful Test Automation for both Testers and Developers
PDF
Create an architecture for web test automation
PPTX
Automation using Javascript
PDF
Codeception
PDF
Mastering Test Automation: How to Use Selenium Successfully
London SF Developers: Custom Lightning Component Error Handling
Testing lightning components feb 15th 2018
Test automation process
Katalon Studio - Successful Test Automation for both Testers and Developers
Create an architecture for web test automation
Automation using Javascript
Codeception
Mastering Test Automation: How to Use Selenium Successfully

What's hot (20)

PDF
Test Automation Frameworks Using Selenium | Edureka
DOCX
Katalon studio vs selenium comparision
PPTX
Setup and run automated test framework for android application
PPTX
Execute Automation Testing in 3 Steps
PPS
Final Automation Testing
PPTX
Telerik test studio webinar deck
PDF
Acceptance & Functional Testing with Codeception - SunshinePHP 2016
PDF
Java Test Automation for REST, Web and Mobile
PDF
UI Testing Automation
PDF
Test Automation Using Python | Edureka
PPT
Web Test Automation with Selenium
PDF
Selenium Interview Questions and Answers For Freshers And Experienced | Edureka
PPTX
A Look into Automated Web UI Test
PPTX
Joomla! Testing - J!DD Germany 2016
PPTX
Selenium Test Automation
PPTX
Telerik Test studio
ODP
Integration Testing in Python
PDF
Introduction to Automation Testing and Selenium overiew
DOCX
Selenium_WebDriver_Java_TestNG
PPTX
Silk Performer Presentation v1
Test Automation Frameworks Using Selenium | Edureka
Katalon studio vs selenium comparision
Setup and run automated test framework for android application
Execute Automation Testing in 3 Steps
Final Automation Testing
Telerik test studio webinar deck
Acceptance & Functional Testing with Codeception - SunshinePHP 2016
Java Test Automation for REST, Web and Mobile
UI Testing Automation
Test Automation Using Python | Edureka
Web Test Automation with Selenium
Selenium Interview Questions and Answers For Freshers And Experienced | Edureka
A Look into Automated Web UI Test
Joomla! Testing - J!DD Germany 2016
Selenium Test Automation
Telerik Test studio
Integration Testing in Python
Introduction to Automation Testing and Selenium overiew
Selenium_WebDriver_Java_TestNG
Silk Performer Presentation v1
Ad

Similar to Integrating SalesforceDX and Test Automation (20)

PDF
Salesforce DX Pilot Product Overview
PPTX
Simplify your code with Salesforce DX and module development
PPTX
Adopting Salesforce DX
PPTX
Get Started with Salesforce DX!
PDF
Denver Salesforce DUG DF 2018 roundup
PPT
Salesforce Developer eXperience (SFDX)
PPT
SFDX Presentation
PDF
Experience with Salesforce DX on real project
PDF
TDX19 - Accelerate DevOps with GitLab and Salesforce
PPTX
Tdxgg18 summary presentation
PDF
Salesforce DX & Deep Dive demo on force:data commands
PDF
Build Together And Deliver Continuously With Salesforce DX
PPTX
6 Essential Types of Salesforce Test Automation
PDF
Getting started with Salesforce DX
PDF
Automating Salesforce Testing: Key Strategies for Scalable Quality Assurance
PPT
SFDX - Spring 2019 Update
PDF
Dreamforce 2017: Salesforce DX - an Admin's Perspective
PDF
Salesforce DX 201 - Advanced Implementation for ISVs
PPTX
Salesforce DX for admin
PPTX
CI/CD - A strategy for success (North Africa Dreamin' Prez)
Salesforce DX Pilot Product Overview
Simplify your code with Salesforce DX and module development
Adopting Salesforce DX
Get Started with Salesforce DX!
Denver Salesforce DUG DF 2018 roundup
Salesforce Developer eXperience (SFDX)
SFDX Presentation
Experience with Salesforce DX on real project
TDX19 - Accelerate DevOps with GitLab and Salesforce
Tdxgg18 summary presentation
Salesforce DX & Deep Dive demo on force:data commands
Build Together And Deliver Continuously With Salesforce DX
6 Essential Types of Salesforce Test Automation
Getting started with Salesforce DX
Automating Salesforce Testing: Key Strategies for Scalable Quality Assurance
SFDX - Spring 2019 Update
Dreamforce 2017: Salesforce DX - an Admin's Perspective
Salesforce DX 201 - Advanced Implementation for ISVs
Salesforce DX for admin
CI/CD - A strategy for success (North Africa Dreamin' Prez)
Ad

Recently uploaded (20)

PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Unlocking AI with Model Context Protocol (MCP)
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
A Presentation on Artificial Intelligence
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Cloud computing and distributed systems.
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Encapsulation theory and applications.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Modernizing your data center with Dell and AMD
Advanced methodologies resolving dimensionality complications for autism neur...
Building Integrated photovoltaic BIPV_UPV.pdf
NewMind AI Monthly Chronicles - July 2025
Review of recent advances in non-invasive hemoglobin estimation
Unlocking AI with Model Context Protocol (MCP)
“AI and Expert System Decision Support & Business Intelligence Systems”
CIFDAQ's Market Insight: SEC Turns Pro Crypto
A Presentation on Artificial Intelligence
Dropbox Q2 2025 Financial Results & Investor Presentation
MYSQL Presentation for SQL database connectivity
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Cloud computing and distributed systems.
Understanding_Digital_Forensics_Presentation.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Approach and Philosophy of On baking technology
Spectral efficient network and resource selection model in 5G networks
Encapsulation theory and applications.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
The Rise and Fall of 3GPP – Time for a Sabbatical?
Modernizing your data center with Dell and AMD

Integrating SalesforceDX and Test Automation

  • 1. Reminders Dreamforce 18 - Call for Papers now open https://www.salesforce.com/dreamforce/call-for-speakers/ Lightning Now Tour Developers >>> bit.ly/lightning-now-developer Sales Admins >>> bit.ly/lightning-now-sales-admin
  • 2. Integrating Test Automation with SalesforceDX Geraint Waters Richard Clark
  • 3. What is Salesforce DX? A new set of tools that streamlines the entire application life cycle. Improves team development and collaboration, facilitates automated testing & continuous integration; makes the release cycle more efficient and agile.
  • 4. SalesforceDX Key Features Disposable scratch orgs Source driven, not org driven development Special Salesforce CLI commands, open platform Fundamental skill for Packaging 2.0
  • 5. Containerize & Version your Applications • Improves parallel development • Clearer visibility of versions • Easier rollback Same tools for sandboxes as development • Link existing environments with your DevHub Package Types • Unlocked Packages for Customers • Developer Controlled Packages for ISVs • Both can have namespaces Why Packaging 2.0 ?
  • 6. 2GP Environments Scratch Org Scratch Org Scratch Org Scratch Org Code Develop + Unit Test Continuous Integration On check-in: Compile & Unit Test Continuous Delivery Build & Install: Staging and UAT Continuous Delivery Release Install: Training and Production Dev Pro SBX Partial SBX Full SBX PROD Version Control System (repo) force:package2:version:create force:package:install force:source:push fource:source:pull force:package2:version:create force:package:install
  • 7. The SFDX Application Lifecycle Packaging to streamline delivery to prod Sandboxes for performance testing, UAT, staging Continuous Delivery / build automation CLI integration with 3rd party editors Force.com IDE (built on CLI) Scratch orgs for devs, built off of source Continuous integration with test automation VCS as the source of truth RELEASE PLAN CODE BUILD TEST
  • 8. Why Test Automation? Manual testing is costly and time consuming Enables Agile development Catches defects early
  • 9. What is Continuous Testing? Process of executing automated tests as part of the software delivery pipeline Forms your DevOps process with Continuous Integration and Continuous Deployment Essential for Agile and DevOps success
  • 10. Advantages of Continuous Testing Mitigate risk Increase confidence Improve communi- cation Reduce overhead Ensure consistency
  • 11. Why Provar ? UI and API Testing expert for Salesforce Intelligent tests using Metadata End to End Testing
  • 12. Demonstrations Create Provar Test Case(s) Check-in to Source Control SFDX Deployment Pipeline Continuous Testing & Reporting
  • 13. VCS Checkout: checkout scm Auth Dev Hub: sfdx force:auth:jwt:grant Create Scratch Org: sfdx force:org:create Generate Password: sfdx force:user:password:generate Push Deployment: sfdx force:source:push Assign Permission Set: sfdx force:user:permset:assign Run Apex Unit Tests: sfdx force:apex:test:run Load Test Data: sfdx force:data:tree:import Run UI & API Tests: ant -f ANT/build.xml Pipeline Commands
  • 14. SalesforceDX Development Model 2yoq5TS Get Started with SalesforceDX 2ynk0XR SFDX Dev Guide(CI with Jenkins) 2yncBI1 SalesforceDX Integration with Provar ProvarDX1 Free AppExch Test Results App ProvarTIR Further information: bit.ly