+ Start a Discussion

can we move move class from sand box to production withou test class?

Hi any one help me on this "can we move move class from sand box to production withou test class?".
Himanshu ParasharHimanshu Parashar
Hi Ganeesh,

Yes you can move the class, only restriction is your PROD overall code coverage should be more than 75% including the class you are sending.

Salesforce Certified Developer | Administrator | Service Cloud Consultant

P.S. If my answer helps you to solve your problem please mark it as best answer. It will help other to find best answer.
sandeep sankhlasandeep sankhla
Hi Ganeeesh,

You should have min75% code covearge overall in process of moving class from sandbox to production...It is mandatory..

Sampath KumarSampath Kumar
Hi Ganeeesh,

Yes, we can move class from sandbox to production without test class but overall code coverage should be greater than or equal to 75.

Mark this as best answer if this solves your query.

Sampath Kumar Goud
NagaNaga (Salesforce Developers) 
Hi Ganesh,

You can deploy an apex class from sandbox to production.An outbound change set is a change set created in the organization you are logged into and that you want to send to another organization. Typically, an outbound change set is used for customizations created and tested in a sandbox, and then sent to a production organization.

Please follow the below link for more information on this


Best Regards
Naga kiran
Sagar PareekSagar Pareek
Yes you can but the overall coverage of the org must be more than 75% but remember that it is not a good practice to follow you should write a test class for every code you wrote.