Just to be sure that we are talking about the same thing:
- properties in file "jacoco-agent.properties" *MUST NOT* have prefix
- this file must be in "Java properties file format", where backslash is
used for escaping
And to be sure let's explicitly specify output mode, so that
"jacoc
no its not, i checked every posible locations
and properties file I have prefixed all args like jacoco-agent.xxx no
results.
Is there a way to check if the agent is running or not?
On Thu, Jul 28, 2016 at 6:09 PM Evgeny Mandrikov
wrote:
> As stated on page http://www.eclemma.org/jacoco/trunk/doc
As stated on page http://www.eclemma.org/jacoco/trunk/doc/offline.html :
if you supply system properties, then they must be prefixed, but not in a
"jacoco-agent.properties" file
I guess that in your current configuration jacoco.exec was generated in a
working directory of your test runner.
On T
so if that is the case
if I did the following I should get the jacoco.exec file generated
Compiling TestSuite.Build
Instrument classes locally, create jar file with instrumented classes,
install it on the device and run tests with your framework as before
without JaCoCo, download produced "jacoco.exec" from the device and create
report based on it.
On Tuesday, July 26, 2016 at 3:51:05 PM UTC+2, rahulhar...@g
tried that already
and Im stuck on this part.
.
.
.
the problem is, my ant build does not execute the test cases, it just compiles
the class and create a jar file
this jar file is installed to device with our test framework and run from there.
is there any other workaround to run this?
--
There is an example with Ant:
http://www.eclemma.org/jacoco/trunk/doc/examples/build/build-offline.xml
[image: pasted1]
On Tue, Jul 26, 2016 at 3:36 PM wrote:
> On Tuesday, July 26, 2016 at 5:10:17 PM UTC+5:30, Evgeny Mandrikov wrote:
> > Hi,
> >
> >
> > Probably you can simply use offline in
On Tuesday, July 26, 2016 at 5:10:17 PM UTC+5:30, Evgeny Mandrikov wrote:
> Hi,
>
>
> Probably you can simply use offline instrumentation instead of on-the-fly
> instrumentation with agent - seeĀ
> http://www.eclemma.org/jacoco/trunk/doc/offline.html
>
Hi,
Thank you for the quick reply
I did
Hi,
Probably you can simply use offline instrumentation instead of on-the-fly
instrumentation with agent -
see http://www.eclemma.org/jacoco/trunk/doc/offline.html
On Tuesday, July 26, 2016 at 12:04:47 PM UTC+2, rahulhar...@gmail.com wrote:
>
> Hi
> I'm currently working on a project which exec