I made some small tweaks to an apex class in sandbox and all my unit tests passed in sandbox, I tried pushing the apex classes and the unit tests.
The error I'm getting is Fatal Error and that my code has no coverage. In sandbox, my code is north of 90%. The developer console doesn't give me any logs of the apex deployment so I can't debug there.
What am I missing?
UPDATE: The unit tests that cover this code are already live in production. When I validation the change set I run all of them
- SalesForecastCreateBatch_Test
- SalesForecastUpdateBatch_Test
- SalesForecastCreate_Controller_Test
- SalesForecastSchedulerTest
As you can see below the code coverage for both classes in sandbox are >= 90%.
Best Answer
Following may be the reasons: