Hi Kevin,
the command line looks good. So, is the following file written?
C:\\Sandbox\\tree-data\\tree-component-tests\\target\\jacoco.exec
Can you please open the file (e.g. with Eclipse with EclEmma installed)
and check whether execution data has been sampled for your classes under
test?
Best regards,
-marc
On 2014-01-14 17:12, [email protected] wrote:
On Monday, January 13, 2014 11:32:29 PM UTC-7, Marc R. Hoffmann wrote:
Hi Kevin,
if you use Maven surefire you should see the following entry in you
log
file when running with -X:
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Forking command line: ...
If you're using a different test runner you might ask them how to
debug
the command line and how to add VM arguments.
Best regards,
-marc
Marc, thanks. I ran "mvn -e -X clean install -P
create-jacoco-reports" and did a search in the output for "Forking
command line". I found two occurrences. The first occurrence didn't
mention "jacoco" at all; the second occurrence was:
Forking command line: cmd.exe /X /C ""C:\Program
Files\Java\jdk1.6.0_45\jre\bin\java"
-javaagent:C:\\Users\\kvnsmnsn\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.6.4.201312101107\\org.jacoco.agent-0.6.4.201312101107-runtime.jar=destfile=C:\\Sandbox\\tree-data\\tree-component-tests\\target\\jacoco.exec,append=true,excludes=**/*Test.*
-jar
C:\Sandbox\tree-data\tree-component-tests\target\surefire\surefirebooter2678885626514837581.jar
C:\Sandbox\tree-data\tree-component-tests\target\surefire\surefire111834554190895649tmp
C:\Sandbox\tree-data\tree-component-tests\target\surefire\surefire_14147398117733366817tmp"
"jacoco" gets mentioned three times on this line, but it all appears
to be part of the same argument. Does this look like a problem to
you, something that I should change?
Kevin S
--
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].
For more options, visit https://groups.google.com/groups/opt_out.