SlideShare a Scribd company logo
Flawless Packaging And Deployment
By Harshala Shewale
Lets connect on twitter @harshalashewale
Agenda
 What is Packaging
 Challenges
 Solutions
 Reference
What is Packaging ?
1) Gather Requirement
2) Define Application Component
3) Test in allocated environment
4) Package and distribute
? Version Control ? Complex Development
? Continuous Integration
?
? Handling Different
Components ? Deployment Checklist
Automated Testing
Challenges
Solutions
1. Version Control
- Fork, Branching and Merging
- Code History / Audit trail
- Collaborative Development
- Prevents lost Of Code
Challenges
✔ Version Control ? Complex Development
? Continuous Integration
?
? Handling Different
Components ? Deployment Checklist
Automated Testing
5 more to go
Solutions
2. Automated Testing
1) Prepare Test Cases for bugs/new feature
2) Use of Selenium tool
3) Validate New or Changed Code
4) Special Org dedicated for Testing
5) Run All Tests after code change , sometimes difference
in Run All Tests coverage and coverage while deploying
package
Solutions
How to Run All test classes before deployment
1) Open Developer Console.
2) Click the panel "Query Editor" Tab at the bottom of the screen
3) Write the following Query in Query Editor.
SELECT Id, NumLinesUncovered FROM ApexCodeCoverageAggregate
4) Check the checkbox "Use Tooling API" at the bottom of the screen.
5) Click "Execute".
6) Select all rows and delete them from "Query Results".
7) Make sure there are no records of ApexCodeCoverageAggregate
8) Clear all Test history (Setup | Developer | Apex Test Execution -> View est
History -> Clear Test Results)
9) Compile all classes
10) Perform "Run All test".
Challenges
✔ Version Control ? Complex Development
? Continuous Integration
? Handling Different
Components ? Deployment Checklist
Automated Testing✔
4 more to go
Solution
3. Handling Different Components
1) Custom Settings
2) Custom Labels
3) Custom Button and Links
Challenges
✔ Version Control Complex Development
? Continuous Integration
Handling Different
Components ? Deployment Checklist
Automated Testing✔
3 more to go
✔
✔
?
Solution
4. Complex Development - Isolated Feature development
1) Keep feature separate,
➔ 1 feature – 1 org
➔ Keep a separate branch for feature
➔ Deploy branched code to org
2) Send pull request to main branch
3) Merge the feature in main branch
4) Send code for QA test
5) Reduces code conflict
Challenges
✔ Version Control ✔ Complex Development
? Continuous Integration
Handling Different
Components ? Deployment Checklist
Automated Testing✔
2 more to go
✔
✔
Solution
5. Continuous Integration
- Constant flow of development changes and unit testing
- Use of Force.com Migration Tool with Jenkins
Challenges
✔ Version Control ✔ Complex Development
Continuous Integration
Handling Different
Components ? Deployment Checklist
Automated Testing✔
1 more to go
✔
✔
✔
Solution
6. Deployment Checklist
- Modified / New Components list
- Post Deployment Checklist
- Level of Access for components
- Track all changes
- Start the deployment early
- Set up a maintenance window
- Use a continuous integration server to make small improvements
- Define data load process if any
Challenges
✔ Version Control ✔ Complex Development
Continuous Integration
Handling Different
Components Deployment Checklist
Automated Testing✔
Wooohooo
Done!
✔
✔
✔
✔
References
Jenkins :
https://developer.salesforce.com/blogs/developer-relations/2013/03/setting-up-jenkins-for-
Selenium
https://developer.salesforce.com/blogs/engineering/2013/06/automated-testing-using-selen
http://www.slideshare.net/Salesforce/introduction-to-forcecom-application-distribution
http://www.slideshare.net/developerforce/techniques-and-tools-to-improve-the-salesforce-d
http://www.docurated.com/all-things-productivity/salesforce-deployment-checklist
Question(s)
Salesforce Flawless Packaging And Deployment

More Related Content

What's hot

Salesforce CI/CD - A strategy for success
Salesforce CI/CD - A strategy for successSalesforce CI/CD - A strategy for success
Salesforce CI/CD - A strategy for success
Yassine ELQANDILI ☁
 
Release and Enviromental Management
Release and Enviromental ManagementRelease and Enviromental Management
Release and Enviromental Management
Salesforce Partners
 
DevOps in Salesforce AppCloud
DevOps in Salesforce AppCloudDevOps in Salesforce AppCloud
DevOps in Salesforce AppCloud
rsg00usa
 
Salesforce – Proven Platform Development with DevOps & Agile
Salesforce – Proven Platform Development with DevOps & AgileSalesforce – Proven Platform Development with DevOps & Agile
Salesforce – Proven Platform Development with DevOps & Agile
Sai Jithesh ☁️
 
Decluttering your Salesfroce org
Decluttering your Salesfroce orgDecluttering your Salesfroce org
Decluttering your Salesfroce org
Roy Gilad
 
Salesforce Deck Template
Salesforce Deck TemplateSalesforce Deck Template
Salesforce Deck Template
Phil Weinmeister
 
The CIO's Guide to Digital Transformation
The CIO's Guide to Digital TransformationThe CIO's Guide to Digital Transformation
The CIO's Guide to Digital Transformation
MuleSoft
 
Introduction to lightning components
Introduction to lightning componentsIntroduction to lightning components
Introduction to lightning components
Mohith Shrivastava
 
DevOps Center_ArchitectGroup
DevOps Center_ArchitectGroup DevOps Center_ArchitectGroup
DevOps Center_ArchitectGroup
AmeyKulkarni84
 
Managing Change With A Sensible Sandbox Architecture
Managing Change With A Sensible Sandbox ArchitectureManaging Change With A Sensible Sandbox Architecture
Managing Change With A Sensible Sandbox Architecture
Alexander Sutherland
 
How to build a Salesforce DevOps process with Gearset
How to build a Salesforce DevOps process with GearsetHow to build a Salesforce DevOps process with Gearset
How to build a Salesforce DevOps process with Gearset
Thierry TROUIN ☁
 
Performing a successful technical debt assessment in Salesforce
Performing a successful technical debt assessment in SalesforcePerforming a successful technical debt assessment in Salesforce
Performing a successful technical debt assessment in Salesforce
Coforge (Erstwhile WHISHWORKS)
 
Salesforce apex hours azure dev ops
Salesforce apex hours   azure dev opsSalesforce apex hours   azure dev ops
Salesforce apex hours azure dev ops
Amit Singh
 
Salesforce Tutorial for Beginners: Basic Salesforce Introduction
Salesforce Tutorial for Beginners: Basic Salesforce IntroductionSalesforce Tutorial for Beginners: Basic Salesforce Introduction
Salesforce Tutorial for Beginners: Basic Salesforce Introduction
Habilelabs
 
The definitive guide to salesforce sandbox flosum
The definitive guide to salesforce sandbox flosumThe definitive guide to salesforce sandbox flosum
The definitive guide to salesforce sandbox flosum
Flosum
 
Salesforce Integration Pattern Overview
Salesforce Integration Pattern OverviewSalesforce Integration Pattern Overview
Salesforce Integration Pattern Overview
Dhanik Sahni
 
Intro to Force.com Canvas: Running External Apps within the Salesforce UI Web...
Intro to Force.com Canvas: Running External Apps within the Salesforce UI Web...Intro to Force.com Canvas: Running External Apps within the Salesforce UI Web...
Intro to Force.com Canvas: Running External Apps within the Salesforce UI Web...
Salesforce Developers
 
Webinar: Take Control of Your Org with Salesforce Optimizer
Webinar: Take Control of Your Org with Salesforce OptimizerWebinar: Take Control of Your Org with Salesforce Optimizer
Webinar: Take Control of Your Org with Salesforce Optimizer
Salesforce Admins
 
Introduction to Lightning Web Component
Introduction to Lightning Web Component Introduction to Lightning Web Component
Introduction to Lightning Web Component
SmritiSharan1
 
INTERFACE, by apidays - The future of API Management in a hybrid, multi-clou...
INTERFACE, by apidays  - The future of API Management in a hybrid, multi-clou...INTERFACE, by apidays  - The future of API Management in a hybrid, multi-clou...
INTERFACE, by apidays - The future of API Management in a hybrid, multi-clou...
apidays
 

What's hot (20)

Salesforce CI/CD - A strategy for success
Salesforce CI/CD - A strategy for successSalesforce CI/CD - A strategy for success
Salesforce CI/CD - A strategy for success
 
Release and Enviromental Management
Release and Enviromental ManagementRelease and Enviromental Management
Release and Enviromental Management
 
DevOps in Salesforce AppCloud
DevOps in Salesforce AppCloudDevOps in Salesforce AppCloud
DevOps in Salesforce AppCloud
 
Salesforce – Proven Platform Development with DevOps & Agile
Salesforce – Proven Platform Development with DevOps & AgileSalesforce – Proven Platform Development with DevOps & Agile
Salesforce – Proven Platform Development with DevOps & Agile
 
Decluttering your Salesfroce org
Decluttering your Salesfroce orgDecluttering your Salesfroce org
Decluttering your Salesfroce org
 
Salesforce Deck Template
Salesforce Deck TemplateSalesforce Deck Template
Salesforce Deck Template
 
The CIO's Guide to Digital Transformation
The CIO's Guide to Digital TransformationThe CIO's Guide to Digital Transformation
The CIO's Guide to Digital Transformation
 
Introduction to lightning components
Introduction to lightning componentsIntroduction to lightning components
Introduction to lightning components
 
DevOps Center_ArchitectGroup
DevOps Center_ArchitectGroup DevOps Center_ArchitectGroup
DevOps Center_ArchitectGroup
 
Managing Change With A Sensible Sandbox Architecture
Managing Change With A Sensible Sandbox ArchitectureManaging Change With A Sensible Sandbox Architecture
Managing Change With A Sensible Sandbox Architecture
 
How to build a Salesforce DevOps process with Gearset
How to build a Salesforce DevOps process with GearsetHow to build a Salesforce DevOps process with Gearset
How to build a Salesforce DevOps process with Gearset
 
Performing a successful technical debt assessment in Salesforce
Performing a successful technical debt assessment in SalesforcePerforming a successful technical debt assessment in Salesforce
Performing a successful technical debt assessment in Salesforce
 
Salesforce apex hours azure dev ops
Salesforce apex hours   azure dev opsSalesforce apex hours   azure dev ops
Salesforce apex hours azure dev ops
 
Salesforce Tutorial for Beginners: Basic Salesforce Introduction
Salesforce Tutorial for Beginners: Basic Salesforce IntroductionSalesforce Tutorial for Beginners: Basic Salesforce Introduction
Salesforce Tutorial for Beginners: Basic Salesforce Introduction
 
The definitive guide to salesforce sandbox flosum
The definitive guide to salesforce sandbox flosumThe definitive guide to salesforce sandbox flosum
The definitive guide to salesforce sandbox flosum
 
Salesforce Integration Pattern Overview
Salesforce Integration Pattern OverviewSalesforce Integration Pattern Overview
Salesforce Integration Pattern Overview
 
Intro to Force.com Canvas: Running External Apps within the Salesforce UI Web...
Intro to Force.com Canvas: Running External Apps within the Salesforce UI Web...Intro to Force.com Canvas: Running External Apps within the Salesforce UI Web...
Intro to Force.com Canvas: Running External Apps within the Salesforce UI Web...
 
Webinar: Take Control of Your Org with Salesforce Optimizer
Webinar: Take Control of Your Org with Salesforce OptimizerWebinar: Take Control of Your Org with Salesforce Optimizer
Webinar: Take Control of Your Org with Salesforce Optimizer
 
Introduction to Lightning Web Component
Introduction to Lightning Web Component Introduction to Lightning Web Component
Introduction to Lightning Web Component
 
INTERFACE, by apidays - The future of API Management in a hybrid, multi-clou...
INTERFACE, by apidays  - The future of API Management in a hybrid, multi-clou...INTERFACE, by apidays  - The future of API Management in a hybrid, multi-clou...
INTERFACE, by apidays - The future of API Management in a hybrid, multi-clou...
 

Similar to Salesforce Flawless Packaging And Deployment

Agile Engineering Sparker GLASScon 2015
Agile Engineering Sparker GLASScon 2015Agile Engineering Sparker GLASScon 2015
Agile Engineering Sparker GLASScon 2015
Stephen Ritchie
 
AWS re:Invent 2016: DevOps on AWS: Advanced Continuous Delivery Techniques (D...
AWS re:Invent 2016: DevOps on AWS: Advanced Continuous Delivery Techniques (D...AWS re:Invent 2016: DevOps on AWS: Advanced Continuous Delivery Techniques (D...
AWS re:Invent 2016: DevOps on AWS: Advanced Continuous Delivery Techniques (D...
Amazon Web Services
 
(Agile) engineering best practices - What every project manager should know
(Agile) engineering best practices - What every project manager should know(Agile) engineering best practices - What every project manager should know
(Agile) engineering best practices - What every project manager should know
Richard Cheng
 
SOFTWARE Engineering (SOFTWARE TESTING).pptx
SOFTWARE Engineering (SOFTWARE TESTING).pptxSOFTWARE Engineering (SOFTWARE TESTING).pptx
SOFTWARE Engineering (SOFTWARE TESTING).pptx
arthurtembo02
 
Unit testing & TDD concepts with best practice guidelines.
Unit testing & TDD concepts with best practice guidelines.Unit testing & TDD concepts with best practice guidelines.
Unit testing & TDD concepts with best practice guidelines.
Mohamed Taman
 
Software test proposal
Software test proposalSoftware test proposal
Software test proposal
ManikandanRamanujam
 
Software testing2
Software testing2Software testing2
Software testing2
suneeth kumar
 
Software testing
Software testingSoftware testing
Software testing
Rakshitha Raviprakash
 
Software testing
Software testingSoftware testing
Software testing
YashasviSingh23
 
Software testing
Software testingSoftware testing
Software testing
suneeth kumar
 
Demo1ghjkl
Demo1ghjklDemo1ghjkl
Demo1ghjkl
crazyvirtue
 
DevOps and Build Automation
DevOps and Build AutomationDevOps and Build Automation
DevOps and Build Automation
Heiswayi Nrird
 
Test driven development and unit testing with examples in C++
Test driven development and unit testing with examples in C++Test driven development and unit testing with examples in C++
Test driven development and unit testing with examples in C++
Hong Le Van
 
Continuous Test Automation, by Richard Langlois P. Eng. and Yuri Pechenko.
Continuous Test Automation, by Richard Langlois P. Eng. and Yuri Pechenko.Continuous Test Automation, by Richard Langlois P. Eng. and Yuri Pechenko.
Continuous Test Automation, by Richard Langlois P. Eng. and Yuri Pechenko.
Richard Langlois P. Eng.
 
Software testing
Software testingSoftware testing
Software testing
Nitin Dhanuka
 
Software Testing Strategies ,Validation Testing and System Testing.
Software Testing Strategies ,Validation Testing and System Testing.Software Testing Strategies ,Validation Testing and System Testing.
Software Testing Strategies ,Validation Testing and System Testing.
Tanzeem Aslam
 
Agile Engineering Best Practices by Richard Cheng
Agile Engineering Best Practices by Richard ChengAgile Engineering Best Practices by Richard Cheng
Agile Engineering Best Practices by Richard Cheng
Excella
 

Similar to Salesforce Flawless Packaging And Deployment (20)

Agile Engineering Sparker GLASScon 2015
Agile Engineering Sparker GLASScon 2015Agile Engineering Sparker GLASScon 2015
Agile Engineering Sparker GLASScon 2015
 
AWS re:Invent 2016: DevOps on AWS: Advanced Continuous Delivery Techniques (D...
AWS re:Invent 2016: DevOps on AWS: Advanced Continuous Delivery Techniques (D...AWS re:Invent 2016: DevOps on AWS: Advanced Continuous Delivery Techniques (D...
AWS re:Invent 2016: DevOps on AWS: Advanced Continuous Delivery Techniques (D...
 
(Agile) engineering best practices - What every project manager should know
(Agile) engineering best practices - What every project manager should know(Agile) engineering best practices - What every project manager should know
(Agile) engineering best practices - What every project manager should know
 
software engineering
software engineeringsoftware engineering
software engineering
 
SOFTWARE Engineering (SOFTWARE TESTING).pptx
SOFTWARE Engineering (SOFTWARE TESTING).pptxSOFTWARE Engineering (SOFTWARE TESTING).pptx
SOFTWARE Engineering (SOFTWARE TESTING).pptx
 
Unit testing & TDD concepts with best practice guidelines.
Unit testing & TDD concepts with best practice guidelines.Unit testing & TDD concepts with best practice guidelines.
Unit testing & TDD concepts with best practice guidelines.
 
Software test proposal
Software test proposalSoftware test proposal
Software test proposal
 
Software testing2
Software testing2Software testing2
Software testing2
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Demo1ghjkl
Demo1ghjklDemo1ghjkl
Demo1ghjkl
 
DevOps and Build Automation
DevOps and Build AutomationDevOps and Build Automation
DevOps and Build Automation
 
Test driven development and unit testing with examples in C++
Test driven development and unit testing with examples in C++Test driven development and unit testing with examples in C++
Test driven development and unit testing with examples in C++
 
Continuous Test Automation, by Richard Langlois P. Eng. and Yuri Pechenko.
Continuous Test Automation, by Richard Langlois P. Eng. and Yuri Pechenko.Continuous Test Automation, by Richard Langlois P. Eng. and Yuri Pechenko.
Continuous Test Automation, by Richard Langlois P. Eng. and Yuri Pechenko.
 
Software testing
Software testingSoftware testing
Software testing
 
Software Testing Strategies ,Validation Testing and System Testing.
Software Testing Strategies ,Validation Testing and System Testing.Software Testing Strategies ,Validation Testing and System Testing.
Software Testing Strategies ,Validation Testing and System Testing.
 
Agile Engineering Best Practices by Richard Cheng
Agile Engineering Best Practices by Richard ChengAgile Engineering Best Practices by Richard Cheng
Agile Engineering Best Practices by Richard Cheng
 
Software testing
Software testingSoftware testing
Software testing
 

More from Harshala Shewale ☁

Salesforce Tableau CRM - Quick Overview
Salesforce Tableau CRM - Quick OverviewSalesforce Tableau CRM - Quick Overview
Salesforce Tableau CRM - Quick Overview
Harshala Shewale ☁
 
Field Service Lightning App Extensions
Field Service Lightning App ExtensionsField Service Lightning App Extensions
Field Service Lightning App Extensions
Harshala Shewale ☁
 
Salesforce Einstein Analytics
Salesforce Einstein AnalyticsSalesforce Einstein Analytics
Salesforce Einstein Analytics
Harshala Shewale ☁
 
Empower Inside Sales With High Velocity Sales (Salesforce + AI)
Empower Inside Sales With High Velocity Sales (Salesforce + AI)Empower Inside Sales With High Velocity Sales (Salesforce + AI)
Empower Inside Sales With High Velocity Sales (Salesforce + AI)
Harshala Shewale ☁
 
AppExchange gems for non profit customers
AppExchange gems for non profit customersAppExchange gems for non profit customers
AppExchange gems for non profit customers
Harshala Shewale ☁
 
Salesforce Steelbrick CPQ Overview
Salesforce Steelbrick CPQ OverviewSalesforce Steelbrick CPQ Overview
Salesforce Steelbrick CPQ Overview
Harshala Shewale ☁
 

More from Harshala Shewale ☁ (6)

Salesforce Tableau CRM - Quick Overview
Salesforce Tableau CRM - Quick OverviewSalesforce Tableau CRM - Quick Overview
Salesforce Tableau CRM - Quick Overview
 
Field Service Lightning App Extensions
Field Service Lightning App ExtensionsField Service Lightning App Extensions
Field Service Lightning App Extensions
 
Salesforce Einstein Analytics
Salesforce Einstein AnalyticsSalesforce Einstein Analytics
Salesforce Einstein Analytics
 
Empower Inside Sales With High Velocity Sales (Salesforce + AI)
Empower Inside Sales With High Velocity Sales (Salesforce + AI)Empower Inside Sales With High Velocity Sales (Salesforce + AI)
Empower Inside Sales With High Velocity Sales (Salesforce + AI)
 
AppExchange gems for non profit customers
AppExchange gems for non profit customersAppExchange gems for non profit customers
AppExchange gems for non profit customers
 
Salesforce Steelbrick CPQ Overview
Salesforce Steelbrick CPQ OverviewSalesforce Steelbrick CPQ Overview
Salesforce Steelbrick CPQ Overview
 

Salesforce Flawless Packaging And Deployment