Mailingliste - Einträge 2005

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [qftestJUI] Code Coverage

  • Subject: Re: [qftestJUI] Code Coverage
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Wed, 26 Oct 2005 15:22:03 -0000

Hi Michael,

I can't help you directly with your problem because I don't have any
experience with either maven or Cobertura, but from your description
it sounds as if the problem is in your build script and not related to

If Cobertura needs requires code instrumentation, another possibility
is that the SUT started from qftestJUI uses the non-instrumented
classes instead of the instrumented ones. Try to add -dbg to the
command line for qftestJUI, then look at the program output for the
SUT in the qftestJUI run-log under the "Start SUT client" node.
That may give you some hints.

Best regards,

"Glicksman, Michael" <Michael_Glicksman@?.com> writes:

>    Hello,
>    I am trying to figure out how I can get code coverage reports using
>    Cobertura.  We have a script we launch using Maven that runs the
>    jui-tests and then create a Cobertura report from the results, but
>    nothing but a N/A shows up in the result.  It appears as the Cobertura
>    serialized file gets re-created for every run, which wipes out the
>    original instrumented code.
>    I have seen on some posts that others have been using emma, and sounds
>    like they figured out how to get this to work.  But there are no
>    details as to how they got this to work.  Any details, settings,
>    properties, etc... would help out a lot.

Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH           
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876