jdeb
jdeb copied to clipboard
maven code coverage needs fixing
test are being called multiple times. the test from the invoker plugin does not generate coverage.
the test from the invoker plugin do not generate coverage.
Those are probably executed in a different Maven/JVM build.
@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.
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 the lack of integration test coverage is the main issue though
@tcurdt have you heard about takari testing (https://github.com/takari/takari-plugin-testing-project)?