java - Maven multi module project with separate tests module - Code Coverage? -



java - Maven multi module project with separate tests module - Code Coverage? -

i have maven multi module project.

root: modulea/ # no unit tests moduleb/ # no unit tests modulec/ # no unit tests tests/ # unit tests, since depends on modules a, b , c

all tests in single module called tests/ , code in separate modules.

is there way can code coverage?

i don't think either of jacoco or cobertura capable of reporting code coverage across modules. may want seek instrumenting compiled classes before running test coverage study rather relying on on-the-fly instrumentation.

see jacoco maven goal perform offline instrumentation.

java maven code-coverage jacoco-maven-plugin

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -