Single apex class code coverage retrieval

Issue #1353 resolved
Nunzio Capasso created an issue

Hi Scott,

as always i found myself in big project working with ORGs that got lots of apex classes where retrieving\applying code coverage could take a while (not to long actually but hey maybe it can be improved).

If i understand this correctly, IC always retrieves and applies the code coverage for the whole project, causing this “extra delay”.

There is any chance to retrieve\apply code coverage to a single class?

Example\use case:

1)Run a test on accountTest.cls → retrieves\applies coverage only to account .cls

2)Run multiple test class (together)→ retrieves\applies coverage to those classes .

3)Right click on a class “retrieve code coverage” → retrieves \applies coverage to the selected class (More ore less this is how MavensMates used to work )

Thanks,

Nunzio.

Comments (6)

  1. Scott Wells repo owner

    I can certainly take a look. I have another enhancement around code coverage that I'll be working soon so I'll just group this one with that one.

    I'm curious as to how long it's taking to show coverage for you, though. That should be a pretty efficient API. Do you mind enabling debug logging for code coverage (http://www.illuminatedcloud.com/support/debuglogging), showing coverage, and providing the resulting idea.log for review so I can see the timings?

  2. Scott Wells repo owner

    Thanks. The log may have rolled because the one attached starts partway through showing coverage. Can you provide the other idea.log* files from the same span of time so I can see the full coverage operation?

  3. Scott Wells repo owner

    Issue tracker grooming. No plans to change to single class (or other selective) coverage retrieval. Is this still a frequent issue for you?

  4. Log in to comment