You need to sign in to do that
Don't have an account?

My Change set is not able to deploy even have 85% overall code coverage
Hi,
My Change set is not able to deploy to production even have 85% overall code coverage in sandbox as shown below

But in production it show 73% code coverage.

Can any body help me how to fix this problem
Thanks in advance.
My Change set is not able to deploy to production even have 85% overall code coverage in sandbox as shown below
But in production it show 73% code coverage.
Can any body help me how to fix this problem
Thanks in advance.
To remove a Test only without removing the class for which that class is written doesn’t make any sense rather increase test coverage for the class already exist on Production and push new changes on Production.
All Answers
Please help me.
I think this can be work what you say Deepak
Waiting for your reply.
But I'll suggest to deploy some more test class with your change sets which already installed on your production but having less code coverage by increasing their code coverage as it's not a big issue to increase their code coverage instead to deploy your new change sets by uninstalling a previous one.
Can you make sure that your triggers have atleast 1% of test of test coverage.
I have selected multiple classes and their test classes and deploy them though IDE the result is that all test classes deleted but main classes are still there in production, due to which test coverage of production down to 63%.
Can any body let me know how i can delete those classes from prodcution?
Hope this helps.
Thank you
As if you delete your main class then how will you cover the test coverage for Main class.
Hope you understand.
Can you please help me? i will be very thank full to you
To remove a Test only without removing the class for which that class is written doesn’t make any sense rather increase test coverage for the class already exist on Production and push new changes on Production.
Here is sanbox over all code coverage 91%
And the result is that it says 54%
Please help me
Waiting for your reply
Can you please let me know how 54% is calculated or suggest me some other solution.
Good job and it time to close your Question by selecting a best answer for your question.