Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Code coverage?
Code coverage? [message #141116] Mon, 09 March 2009 14:02 Go to next message
Eclipse UserFriend
Originally posted by: antispam.domain.invalid

Hello,

How can I have code coverage with TPTP?

In the profile configuration of my JUnit test, in the Monitor tab, there
are different profiling analysis (time, memory, thread ...) but I see no
code coverage...

What did I miss?

Thanks in advance,

--
Patrick
Re: Code coverage? [message #141127 is a reply to message #141116] Tue, 10 March 2009 10:37 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Patrick,
In TPTP 4.5.0, the method-level code coverage analysis type was removed
when we moved to JVMTI-based profiler. In addition, the deprecated
line-level code coverage Technology Preview was removed in TPTP 4.5.0.

We suggest that you use one of the other open-source code coverage
tools. For example, Emma or EclEmma. Here are some instructions on how we
used Emma in the TPTP project:

http://wiki.eclipse.org/How_to_test_TPTP_with_line_level_cod e_coverage_enabled

Paul

"Patrick Godeau" <antispam@domain.invalid> wrote in message
news:gp37h1$tp7$1@build.eclipse.org...
> Hello,
>
> How can I have code coverage with TPTP?
>
> In the profile configuration of my JUnit test, in the Monitor tab, there
> are different profiling analysis (time, memory, thread ...) but I see no
> code coverage...
>
> What did I miss?
>
> Thanks in advance,
>
> --
> Patrick
Re: Code coverage? [message #141138 is a reply to message #141127] Tue, 10 March 2009 11:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: antispam.domain.invalid

Le 10/03/2009 12:37, Paul Slauenwhite a écrit :
> In TPTP 4.5.0, the method-level code coverage analysis type was removed
> when we moved to JVMTI-based profiler. In addition, the deprecated
> line-level code coverage Technology Preview was removed in TPTP 4.5.0.
> We suggest that you use one of the other open-source code coverage
> tools. For example, Emma or EclEmma.

Hi Paul,
This is too bad. I've used EclEmma but it has some limitations.
Is there a chance that a code coverage is included in a future release
train, possibly based on Emma or another tool?
Thanks,
--
Patrick
Re: Code coverage? [message #141169 is a reply to message #141138] Wed, 11 March 2009 10:17 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Pattick,
We have no plans to provide a code coveraage component in TPTP.

Would you or your company be interested in contributing the resources
for a code coverage component?

Paul
"Patrick Godeau" <antispam@domain.invalid> wrote in message
news:gp5i18$n08$1@build.eclipse.org...
> Le 10/03/2009 12:37, Paul Slauenwhite a
Re: Code coverage? [message #141222 is a reply to message #141169] Thu, 12 March 2009 07:54 Go to previous message
Eclipse UserFriend
Originally posted by: antispam.domain.invalid

Le 11/03/2009 12:17, Paul Slauenwhite a écrit :
> We have no plans to provide a code coveraage component in TPTP.
> Would you or your company be interested in contributing the resources
> for a code coverage component?

Alas, I'm only a very occasional user and it was only a suggestion...
Previous Topic:on WindXP, profiler hangs at "Connecting to JVMTI agent"
Next Topic:AGR: Shortcut-Usage leading to "InvocationTargetException"
Goto Forum:
  


Current Time: Fri Apr 19 02:09:56 GMT 2024

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

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

Back to the top