Is there a way to get a report of the code coverage during or from a deployment?
Currently I have 85% total coverage in my production (cleared all test and ran all test to be sure this is accurate), but when I'm deploying a very simple change right now (not even enough lines of code to offset my current coverage) I get 57/57 100% successful test but failed deployment because of 74% coverage.
My guess is since the code I'm deploying is so minor (even if no lines were covered I'd still have enough total coverage), is that something is failing (silently) causing previous code in production to no longer be covered. Unfortunately I can't see what files are short based from this deployment because the only report I get back is 74% and no test failures :(
Appreciate the help
I posted a ticket to SF support. Took a few days to get a response and initially they wouldn't even help because we apparently do not have developer support (typical SalesForce support to not even read your problem before quoting you your licensing limits).
Anyways, after a call to a sales rep they they finally looked into the issue and responded with the following:
Connection User 04/01/2015 10:09:34 AM PDT
I further checked on this and found that yes we are experiencing issues with test class at our end.
The bad line coverage issues as you mentioned on stack trace has not been identified as bug though but I checked that many customers are complaining the same.
Since this is been complained by plenty of customers our R & D team will take notice on it and might create a public known issue link for customers.
There are other issues too , related to test class only, for instance - https://success.salesforce.com/issues_view?id=a1p30000000T4oRAAS
Bottom line is - as of now no known issue is published for your concerned problem however I confirm that other users are also facing the same so we might see a bug link on it.
Recompilation and clearing Test execution history might help but sometimes it doesn't.
Kindly let me know if you have any other concern too regarding this.
Thanks, Ashish Developer support salesforce.com
So that's that for now I take it. For now my best results have come from using the HaoIDE add-on with Sublime and getting test result back from there. Also in the Developer Console I've found other perspectives that give more detailed information per each test I run. I'll post more follow up as I have it.