You need to sign in to do that
Don't have an account?
Marcin Trofiniak
Test coverage error
So i have manage package that has been tested and riched 80%. But when we moved it to new org and done test we saw only 50%. What is more big test class ( 290 lines ) was included in to test coverage with 0% of cover. Did any one have same issue. How to make it excluded from test? No other test class is there just this one. It is begining with @isTest
1. Copy code from that test class into some text editor.
2. Delete that test class.
3. Goto Apex classes from SETUP.
4. Click on New and copy the code from the text editor to that class and save.
It will remove from test class coverage.
Note: - If you get solution marked it as best answer to help others easily find their solution.