+ Start a Discussion

Test method coverage in SANDBOX for TEST


I have written my first trigger and class ,and this is moving to production next week.

I want to deploy this in my other sandbox (where by default it is not running test methods as production does). And i want to make sure this deployment will go similar to production.

Can you please guide me how shall i deploy to TEST sandbox and forcing it to run test methids as it in produciton.


And one more thing!!..is there any way to skip running test method while deploying in production?


Thanks in advance.


There is no way to prevent "running tests" when deploying to a production environment. As regards to deploying and running tests againsts a sandbox, you can potentially do a "Validate" via the IDE that will attempt to just run the tests against the destination org (i.e. your 2nd sandbox) v/s deploying.