Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Is there an option for Line by Line coverage reporting?
Is there an option for Line by Line coverage reporting? [message #110811] Thu, 30 August 2007 20:20 Go to next message
Eclipse UserFriend
Originally posted by: mlevison.gmail.com

Even better branch by branch? After reading the documentation for a few
minutes my impression is that we're limited to knowing whether a method
is called.

Failing that does any know of a coverage tool that:
1) supports running Junit Plugin tests
2) is available as an Eclipse Plugin.

Cheers
Mark - trying to find out where the holes are.
Re: Is there an option for Line by Line coverage reporting? [message #110895 is a reply to message #110811] Fri, 31 August 2007 10:28 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Mark,
In TPTP and Java 1.4 or less, you can use the Method Level code coverage
function. Method
Level code coverage is another analysis type for the Java Profiler data
collector in the Profiling launch configuration. For more information, see:

http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. tptp.platform.doc.user/tasks/tevwcode.htm

If you are interested in using the TPTP Method Level code coverage with
TPTP JUnit tests, please see the work-around here:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=138736#c17

TPTP does provide a line level code coverage tool as a Technology
Preview. However, this tooling is depredated (in place of EMMA integration)
and cannot be used with test execution. You can
learn about the TPTP Line Level Code Coverage tool (including a viewlet) for
the latest release at:

http://www.eclipse.org/tptp/home/downloads/downloads.php >> Deprecated
Technology
Previews >> Code Coverage

Moving forward, we are working at integrating EMMA for line level code
coverage with test execution in TPTP (see defect
https://bugs.eclipse.org/bugs/show_bug.cgi?id=170800). Please feel free to
comment or contribute to this defect.

Paul
"Mark Levison" <mlevison@gmail.com> wrote in message
news:fb78pj$po9$1@build.eclipse.org...
> Even better branch by branch? After reading the documentation for a few
> minutes my impression is that we're limited to knowing whether a method is
> called.
>
> Failing that does any know of a coverage tool that:
> 1) supports running Junit Plugin tests
> 2) is available as an Eclipse Plugin.
>
> Cheers
> Mark - trying to find out where the holes are.
Re: Is there an option for Line by Line coverage reporting? [message #111042 is a reply to message #110895] Fri, 31 August 2007 18:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mlevison.gmail.com

Paul Slauenwhite wrote:
> Hi Mark,
> In TPTP and Java 1.4 or less, you can use the Method Level code coverage
> function. Method
> Level code coverage is another analysis type for the Java Profiler data
> collector in the Profiling launch configuration. For more information, see:
>
> http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. tptp.platform.doc.user/tasks/tevwcode.htm
>
> If you are interested in using the TPTP Method Level code coverage with
> TPTP JUnit tests, please see the work-around here:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=138736#c17
>
> TPTP does provide a line level code coverage tool as a Technology
> Preview. However, this tooling is depredated (in place of EMMA integration)
> and cannot be used with test execution. You can
> learn about the TPTP Line Level Code Coverage tool (including a viewlet) for
> the latest release at:
>
> http://www.eclipse.org/tptp/home/downloads/downloads.php >> Deprecated
> Technology
> Previews >> Code Coverage
>
> Moving forward, we are working at integrating EMMA for line level code
> coverage with test execution in TPTP (see defect
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=170800). Please feel free to
> comment or contribute to this defect.

Thanks for the details. What version (or roughly when) do you expect to
see this?

Cheers
Mark
Re: Is there an option for Line by Line coverage reporting? [message #111528 is a reply to message #111042] Thu, 06 September 2007 12:40 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Mark,
We are just in the planning stages of the next release (4.5) so I cannot
comment on the delivery date. This is important function so I would
anticipate it will be done in the next release or two (at the latest).

Paul
"Mark Levison" <mlevison@gmail.com> wrote in message
news:fb9mk1$dni$1@build.eclipse.org...
> Paul Slauenwhite wrote:
>> Hi Mark,
>> In TPTP and Java 1.4 or less, you can use the Method Level code
>> coverage
>> function. Method
>> Level code coverage is another analysis type for the Java Profiler data
>> collector in the Profiling launch configuration. For more information,
>> see:
>>
>> http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. tptp.platform.doc.user/tasks/tevwcode.htm
>>
>> If you are interested in using the TPTP Method Level code coverage with
>> TPTP JUnit tests, please see the work-around here:
>>
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=138736#c17
>>
>> TPTP does provide a line level code coverage tool as a Technology
>> Preview. However, this tooling is depredated (in place of EMMA
>> integration)
>> and cannot be used with test execution. You can
>> learn about the TPTP Line Level Code Coverage tool (including a viewlet)
>> for
>> the latest release at:
>>
>> http://www.eclipse.org/tptp/home/downloads/downloads.php >> Deprecated
>> Technology
>> Previews >> Code Coverage
>>
>> Moving forward, we are working at integrating EMMA for line level
>> code
>> coverage with test execution in TPTP (see defect
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=170800). Please feel free
>> to
>> comment or contribute to this defect.
>
> Thanks for the details. What version (or roughly when) do you expect to
> see this?
>
> Cheers
> Mark
Previous Topic:[AGR] Multiple tests in Standard Mode
Next Topic:Unable to profile
Goto Forum:
  


Current Time: Fri Mar 29 01:28:50 GMT 2024

Powered by FUDForum. Page generated in 0.02368 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top