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
apexuserapexuser 

Is it possible to deploy controoler class with out writing a test calss?

Hi Folks,

               Is it possible to deploy the controller class with out writing a test class?

I deploy the controller class on to Sandbox with out writing a test class.How could be it possible?

 

Please clarify.Thanks in advance.

Thanks.

hisrinuhisrinu

Test methods are not required for sandboxes but it is required for production migration.... so have your test methods ready before you migrate it to production.