function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Paul TangussoPaul Tangusso 

Change Set - Inbound - Apex Class

I need to migrate a single updated Apex Class (currently in our Sandbox) into our Production org.  Not being a developer, I am trying to understand what the Test options, that appear as part of the Inbound Change Set process, actually mean - "Default, Run Local Tests, Run All Tests, Run Specific Tests"?  
I'm trying to understand what I need to do to ensure that my Inbound Change Set (containing the one updated Apex Class) is migrated to our Production org successfully.
Any help or guidance on this would be appreciated.  Thank you
VinayVinay (Salesforce Developers) 
Hi Paul,

If you are trying to deploy one apex class from sandbox to production you would need an apex class and also a test class that has code coverage of more than 75%.  Also, you can select 'Run specific test' to run a single test class for a related apex controller.

Without test class, you might not be above to move components to the production instance.

https://www.simplysfdc.com/2016/12/salesforce-test-levels.html

Hope this helps...

Thanks,