--
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 jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/49919127-9b75-4811-b8fd-d6af9ce04a09%40googlegroups.com.
Hi guys,I have a issues when run cobertura, please help me to fix it.I have a test file that is covered 100% when i run Junit in eclipse, but it just be 50% when i run it by cobertura without error or failure. After that, i see a function in middel of this file which make cobertura fail. I moved it to end of test file and run again. this test file is covered 100% without error or failure.I don't how. please help me to clarify cause.
Thank you so much.
Vào Th 4, 24 thg 7, 2019 vào lúc 08:03 Evgeny Mandrikov <mand...@gmail.com> đã viết:
--
On Tuesday, July 23, 2019 at 10:54:58 PM UTC+2, Lin Chen wrote:There was an old similar case. I am having the same problem in 0.7.5. I am wondering how the 0.7.6 problem was solved.I have -javaagent:C:/Users/me/lib/org.jacoco.agent-0.7.5.201505241946.jar=[...] in my in IntelliJ VM Options. When I run I got:Failed to find Premain-Class manifest attribute in C:/Users/me/lib/org.jacoco.agent-0.7.5.201505241946.jarError occurred during initialization of VMagent library failed to init: instrumentDo I need add the runtime postfix as pointed out in that old case? Is org.jacoco.agent-NNN.jar and org.jacoco.agent-NNN-runtime.mar the same?As explained in documentation on page https://www.jacoco.org/jacoco/trunk/doc/repo.htmlorg.jacoco.agent-0.7.5.201505241946-runtime.jaris the jar of agent with Premain-Class header and exactly this jar should be used for java parameter "-javaagent"org.jacoco.agent-0.7.5.201505241946.jaris not agent and has no Premain-Class header,it is an API to obtain the agent as a resource.This applies for all JaCoCo versions up to latest released as of today 0.8.4, including 0.7.5 and 0.7.6
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 jacoco+unsubscribe@googlegroups.com.
Thank you so much.
To unsubscribe from this group and stop receiving emails from it, send an email to jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/49919127-9b75-4811-b8fd-d6af9ce04a09%40googlegroups.com.
--
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 jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/3be59d3a-2cbd-4d03-9a00-88c5e03ef7e9%40googlegroups.com.