You need to sign in to do that
Don't have an account?
Salesforce Admin2
Deploying test classes, classes, triggers in a change set to production to increase code coverage in production
I wrote test classes to test my triggers and classes that reach 100 percent code coverage in the test environment. So I created a change set that included the test classes for my triggers and classes but when I deployed the change set to production my code coverage still was only 67 percent. It appears that the deployment did not test my test classes that was in the change set. What are the steps in getting your new test scripts into production>?
Please check if your latest modified test classes are in production.
No, my latest test script are not in production and I do not know how to get them to production. i tried to deploy them along with the component they are testing but deployment failed due to low code coverage.
Try to increase code coverage in sandbox itself and then deploy it to production.