Code coverage? [message #141116] |
Mon, 09 March 2009 14:02 |
Eclipse User |
|
|
|
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 |
Paul Slauenwhite 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 |
Eclipse User |
|
|
|
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 #141222 is a reply to message #141169] |
Thu, 12 March 2009 07:54 |
Eclipse User |
|
|
|
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...
|
|
|
Powered by
FUDForum. Page generated in 0.01855 seconds