Hey Jacoco community, we have a unique situation
Example - >
We have multiple java projects, in separate dir. Also our JUnit test cases are in its own Proj directory as well
Parent Dir 1
Proj1
Proj2
Proj3
UnitTestProj
We are trying to just get a simple coverage report using the cli as a proof of concept
You can see our Junit Tests are not colocated to the project where the source and class files are
I know we can set where our source and class files are but how would jacoco know where the unit tests are if they are not part of the source proj?
I have a development team who has this setup and they get:
[WARN] No execution data files provided.
[INFO] Analyzing 775 classes.
java -cp jacococli.jar org.jacoco.cli.internal.Main report --classfiles fullpath --html C:\projroot --name projroot.html --sourcefiles fullpath >C:\ConsoleOutput.txt