Directly attributable code coverage?

Since the last release, when I execute a single unit test (via Develop > Apex Classes > Test Class > Run Test), I get taken to the “Apex Test Execution” screen. This screen shows whether the test passed or failed, but not the line coverage directly attributable to this unit test.

Previously, when you executed a single unit test you would get a full list of classes and the coverage % you got from that single unit test.

Other than doing a “Clear Code Coverage” (which takes forever), then running a single unit test, then going back to the Apex Classes view, is there a simple way to just see the coverage directly attributable to one run of a test class? If not this seems like a big regression in developer-facing functionality.

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

I think what you want is now available in test execution available the Developer Console.

enter image description here


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x