{"id":2085,"date":"2016-09-07T11:35:27","date_gmt":"2016-09-07T11:35:27","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/salesforce\/?p=2085"},"modified":"2025-05-08T09:00:28","modified_gmt":"2025-05-08T09:00:28","slug":"deployment-options-for-changeset","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/salesforce\/2016\/09\/07\/deployment-options-for-changeset\/","title":{"rendered":"Deployment Options for Changeset"},"content":{"rendered":"\n<p>Salesforce <strong>&#8216;Winter 16&#8217;<\/strong> release has provided a new way to deploy a change set in the production organization. These deployment changes include test options for change sets.<\/p>\n\n\n\n<p>Now, a user can choose which tests to run when validating an inbound change set in production or sandbox at the time of deployment. Test options provide flexibility in how much testing is done to achieve quality and code coverage requirements which will reduce execution time in a deployment. This feature is available in both Lightning Experience and Salesforce Classic.<\/p>\n\n\n\n<p>The following test options are available when deploying or validating an inbound change set :-<br><ins datetime=\"2016-09-07T11:20:08+00:00\"><\/ins><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/09\/Img-1-All-available-test-options.jpg\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/09\/Img-1-All-available-test-options-1024x341.jpg\" alt=\"All available test options\" class=\"wp-image-2087\"\/><\/a><figcaption class=\"wp-element-caption\">All available test options<\/figcaption><\/figure><\/div>\n\n\n<p>-&gt; Default : It keeps the default behavior for all tests. In sandbox, no tests are executed. In production, all local tests are executed if change set contains Apex classes or triggers.Local tests are all tests, except the ones that originate from managed packages. If package doesn\u2019t contain Apex components, no tests are run.<br>-&gt; Run Local Tests : In this all tests in organization are run, except the ones that originate from installed managed packages. This test level is the default for production deployments that include Apex classes or triggers.<br>-&gt; Run All Tests : In this all tests in organization are run, including tests of managed packages.<br>-&gt; Run Specified Tests : Only the tests that user specify are run.User has to provide the names of test classes in a comma-separated list. Benefit of choosing this option is that it checks code coverage criteria at the Changeset level rather than checking it at the entire org level. The executed tests must cover the classes or triggers contained with in change sets with a minimum of 75% code coverage. This coverage is computed for each class or trigger individually and is different from the overall coverage percentage.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/09\/Img-2-Run-specified-tests.jpg\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/09\/Img-2-Run-specified-tests-1024x421.jpg\" alt=\"Run specified tests\" class=\"wp-image-2086\"\/><\/a><figcaption class=\"wp-element-caption\">Run specified tests<\/figcaption><\/figure><\/div>\n\n\n<p>This last option has come as a boon to the Salesforce Developers who just work on an independent functionality and don\u2019t want the already existing test classes in Production to hamper their deployment. So, Happy Deployment \ud83d\ude42<\/p>\n\n\n\n<p><span style=\"font-size: Medium;\"><strong>About Us<\/strong><\/span><br><a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a>&nbsp;as a Salesforce Product development partner offers a wide variety of integration products and services to the end users as well as to the Partners across the globe. We offers Consultation, Configuration, Training and support services in out-of-the-box functionality as well as customizations to incorporate custom business rules and functionalities that requires apex code incorporation into the Salesforce platform.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a>&nbsp;has some unique solutions for Cloud CRM such as Salesforce integration with&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-x3\/gumu-x3-salesforce-integration\">Sage Enterprise Management (Sage X3<\/a>),&nbsp;Sage Intacct, <a href=\"https:\/\/www.greytrix.com\/product\/sage-100-erp\/gumu-100-salesforce-integration\">Sage 100&nbsp;<\/a>and&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-300-erp\/gumu-300-salesforce-integration\">Sage 300 (Sage Accpac)<\/a>. We also offer best-in-class Cloud CRM&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/crm-development\/salesforce-com\">Salesforce customization and development services<\/a> along with services such as Salesforce <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/data-migration-services\">Data Migration<\/a>, <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/integrated-application-development\">Integrated App development<\/a>, <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/custom-development\">Custom App development<\/a> and <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/maintenance-support\">Technical Support<\/a> to business partners and end users.<\/p>\n\n\n\n<p>Greytrix GUMU&#x2122; integration for Sage ERP \u2013 Salesforce is a 5-star app listed on <a href=\"https:\/\/appexchange.salesforce.com\/listingDetail?listingId=a0N30000000psM5EAI\" target=\"_blank\" rel=\"noopener\">Salesforce AppExchange<\/a>.<\/p>\n\n\n\n<p>For more information, please contact us at&nbsp;<a href=\"mailto:salesforce@greytrix.com\">salesforce@greytrix.com<\/a>. We will be glad to assist you.<\/p>\n\n\n\n<p><strong><span style=\"font-size: Medium;\">Related Posts<\/span><\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/2016\/08\/30\/save-records-via-lightning-app\/\">Save Records via Lightning App<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/2016\/08\/20\/retrieve-records-in-lightning\/\">Retrieve Records in Lightning<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/2016\/08\/18\/easily-creating-force-com-sites\/\">Easily Creating Force.com sites<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Salesforce &#8216;Winter 16&#8217; release has provided a new way to deploy a change set in the production organization. These deployment changes include test options for change sets. Now, a user can choose which tests to run when validating an inbound change set in production or sandbox at the time of deployment. Test options provide flexibility\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2016\/09\/07\/deployment-options-for-changeset\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[14,857,42,386,387,858],"class_list":["post-2085","post","type-post","status-publish","format-standard","hentry","category-gumu-salesforce","tag-apex-classes","tag-changeset-deployment","tag-changeset-deployment-validation-tests","tag-salesforce-blogs","tag-salesforce-changeset","tag-salesforce-production-organization"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/2085","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/comments?post=2085"}],"version-history":[{"count":4,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/2085\/revisions"}],"predecessor-version":[{"id":10587,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/2085\/revisions\/10587"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/media?parent=2085"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/categories?post=2085"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/tags?post=2085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}