People,
I am using emma with maven. I want emma disconsider some kind of classe, like *Test* classes. Is there any way?
I didnt found it anywhere, so i did some kludge with pluging.jelly.
If you set the following properties, all classes in your test tree should be excluded from instrumentation, but the "product" (app) classes will be included:
You should be able to control this through basic emma mechanisms. See the EMMA docs at http://emma.sourceforge.net/reference_single/reference.html, especially the section on "Defining the instrumentation set". Someone else may want to jump in with more details. Good luck
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
People,
I am using emma with maven. I want emma disconsider some kind of classe, like *Test* classes. Is there any way?
I didnt found it anywhere, so i did some kludge with pluging.jelly.
Breno Leito
http://lcr.icmc.usp.br/~leitao
If you set the following properties, all classes in your test tree should be excluded from instrumentation, but the "product" (app) classes will be included:
maven.emma.mode.product=replace_classes
maven.emma.mode.testing=none
-- Chad
Thank you chad..
The test i removed. I have removed the an emma post goal (java:compile).
But i need to remove some Exception class too. Any idea?
Thank you.
Breno H. Leito
You should be able to control this through basic emma mechanisms. See the EMMA docs at http://emma.sourceforge.net/reference_single/reference.html, especially the section on "Defining the instrumentation set". Someone else may want to jump in with more details. Good luck