You need to sign in to do that
Don't have an account?
Code Coverage during deployment
Hi
I am trying to deploy my classes and onjects on Production using the Force.com IDE. All my classes and triggers have code coverage more than 75 % , while running tests in force.com IDE , i found that several other test methods are running which are from other classes. There is no relation with my code. It is dropping my Code coverage percentage. How can i prevent the running the tests from other classes or triggers while deploying the code. Refer to the image below - All classes and trigger with Green symbol should only execute the test cases , rest of them should be removed.
Hi Sandeep,
When deploying to production, all the unit test classes are run.
Regards,
Hengky
All Answers
Hi Sandeep,
I think you need to select only those classes and their test classes which are required to depoly to the production org.
Regards,
Sridhar Bonagiri
Hi Sandeep,
When deploying to production, all the unit test classes are run.
Regards,
Hengky