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)

PPTX
Salesforce DevOps Certification - Salesforce DevOps Training.pptx
PDF
Salesforce CI/CD - A strategy for success
PPTX
CI/CD - A strategy for success (North Africa Dreamin' Prez)
PPTX
The art of wmb deployment automation
PDF
Intelligent Test Automation with Provar.pdf
PDF
WSO2Con US 2013 - Keynote: Developing Enterprise Apps In the Cloud
PPT
How to Build and Maintain Quality Drupal Sites with Automated Testing
PPTX
Har du en DevOps i ditt team?
PDF
Accelerate Your Automation Testing Effort using TestProject & Docker | Docker...
PPTX
Live Session1 lightning web component
PPTX
Salesforce DX for admin
PDF
Code review automation and functional tests on Carrefour
PPTX
Webinar: Automating the Creation and Use of Virtual Testing Environments
PPTX
SDLC & DevOps Transformation with Agile
PPTX
Salesforce DX for Admin v2
PDF
Visual Studio ALM and DevOps Tools Walkthrough
PDF
Datatree.io Webinar: Continuous Integration & Delivery for Agile Teams
PDF
DevSecOps - Background, Status and Future Challenges
PPTX
Tooling and DevOps for the Hybrid Cloud with Azure and Azure Stack
PDF
DevOps Roadshow - continuous delivery and release management
Salesforce DevOps Certification - Salesforce DevOps Training.pptx
Salesforce CI/CD - A strategy for success
CI/CD - A strategy for success (North Africa Dreamin' Prez)
The art of wmb deployment automation
Intelligent Test Automation with Provar.pdf
WSO2Con US 2013 - Keynote: Developing Enterprise Apps In the Cloud
How to Build and Maintain Quality Drupal Sites with Automated Testing
Har du en DevOps i ditt team?
Accelerate Your Automation Testing Effort using TestProject & Docker | Docker...
Live Session1 lightning web component
Salesforce DX for admin
Code review automation and functional tests on Carrefour
Webinar: Automating the Creation and Use of Virtual Testing Environments
SDLC & DevOps Transformation with Agile
Salesforce DX for Admin v2
Visual Studio ALM and DevOps Tools Walkthrough
Datatree.io Webinar: Continuous Integration & Delivery for Agile Teams
DevSecOps - Background, Status and Future Challenges
Tooling and DevOps for the Hybrid Cloud with Azure and Azure Stack
DevOps Roadshow - continuous delivery and release management
Ad

Recently uploaded (20)

PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Approach and Philosophy of On baking technology
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Machine Learning_overview_presentation.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
A Presentation on Artificial Intelligence
PPTX
TLE Review Electricity (Electricity).pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Approach and Philosophy of On baking technology
Building Integrated photovoltaic BIPV_UPV.pdf
Machine Learning_overview_presentation.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
A Presentation on Artificial Intelligence
TLE Review Electricity (Electricity).pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
OMC Textile Division Presentation 2021.pptx
Empathic Computing: Creating Shared Understanding
Spectral efficient network and resource selection model in 5G networks
Programs and apps: productivity, graphics, security and other tools
Group 1 Presentation -Planning and Decision Making .pptx
A comparative analysis of optical character recognition models for extracting...
Univ-Connecticut-ChatGPT-Presentaion.pdf
A comparative study of natural language inference in Swahili using monolingua...
Diabetes mellitus diagnosis method based random forest with bat algorithm
Digital-Transformation-Roadmap-for-Companies.pptx
Assigned Numbers - 2025 - Bluetooth® Document

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