On Thursday, September 1, 2016 at 9:21:44 AM UTC-7, [email protected] 
wrote:
> I have a jar file, and invoke java class with different input values(manually 
> testing it). How can i get the code coverage in this scenario. I have made 
> sure to invoke the java class with -javaagent opts, i do not see the 
> jacoco.exec files getting created. Can any one help me here?

Here is the more detail information of my issue:
thanks for the information, 
Here is a sample :
i have a test.jar, i have script (test.sh) that calls the java class
I specified  -javaagent opts while calling the java class,

I test this java class by passing differnt parameters, somehting like
./test.sh /user/wld 
 i do not see jacoco.exec file getting created

Another complication is , the class are executed in hadoop environment, that 
means,
in test.sh , the command to invoke the java class
hadoop com.test.main {specifed the -javagent opts} -classpath {has list of jar 
files & my test.jar} $1 

can you help me here?
thanks
Rama

-- 
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/115448e3-74b5-49e0-971a-506fb4e95500%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to