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

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/8e65e13f-6afe-442b-9311-dd59cc9078a2%40googlegroups.com.

Reply via email to