Horcrux7
Horcrux7

Reputation: 24447

How to coverage classes from URLClassLoader in Eclipse with EclEmma?

My application use a small launcher which build then a hierarchy of a URLClassLoaders from plugins. The URLClassLoader can also point to other projects in which I develop the plugin. If I want measure the coverage with EclEmma then it coverage only the classes of the launcher self not of the linked classes.

How can I measure the coverage of classes in custom classloaders, for example URLClassLoaders? Are there any settings in Eclipse that make this possible?

Upvotes: 0

Views: 32

Answers (1)

Horcrux7
Horcrux7

Reputation: 24447

With JaCoCO it is possible to measure the coverage of any class from any custom ClassLoader because there are no limits on the command line parameters. But it is not integrated in Eclipse.

Upvotes: 0

Related Questions