mardi 10 février 2015

Cobertura not capturing the coverage for reflective method calls

I have a webapp which makes REST calls. This webapp is bundled with cobertura instrumented classes. From the REST resource, the public service APIs are invoked using reflection (This was done to overcome some class loading issues with OSGI).


Now there is an issue with the code coverage. When i generate the cobertura code coverage report, i see that the coverage is being captured till the resource and all the reflective public method calls are ignored in the coverage.


Is there a way where we can get the coverage for the reflective methods calls as well.






Aucun commentaire:

Enregistrer un commentaire