jdeb icon indicating copy to clipboard operation
jdeb copied to clipboard

maven code coverage needs fixing

Open tcurdt opened this issue 9 years ago • 5 comments

test are being called multiple times. the test from the invoker plugin does not generate coverage.

tcurdt avatar Jan 16 '16 15:01 tcurdt

the test from the invoker plugin do not generate coverage.

Those are probably executed in a different Maven/JVM build.

tmortagne avatar Jan 17 '16 12:01 tmortagne

@tmortagne Yes, that's probably what it is - but that build just also needs the java agent specified and should work. I found a couple of different examples around and tried to mimic their config - no luck so far.

I think https://github.com/tcurdt/jdeb/blob/master/pom.xml#L284 is what should make it work.

tcurdt avatar Jan 17 '16 12:01 tcurdt

Normally this kind of issue is related to a duplication of execution tag. when instead of overriding a parent execution (with same id) a new one is added.

cvgaviao avatar Jan 17 '16 17:01 cvgaviao

@cvgaviao the lack of integration test coverage is the main issue though

tcurdt avatar Jan 17 '16 19:01 tcurdt

@tcurdt have you heard about takari testing (https://github.com/takari/takari-plugin-testing-project)?

cvgaviao avatar Jan 17 '16 20:01 cvgaviao