Re: Code Coverage with EclEmma

2009-02-06 Thread Sumit Chandel
Hi Matt,
Are you building the latest version of GWT from the SVN trunk?

The team has only just recently added better support for Emma, but it is
still under development. The plan is to try and get this ready for either a
coming milestone or final release, but until then you're likely to encounter
issues running code coverage reports. Some improvements have been added even
past the 1.6 milestone, so if you would like to give Emma support another
try to see how it's shaping up, you should build from the latest in trunk
and run with that.

As far as I know, you should still be able to use Ant or Maven or any other
build system along with Emma code coverage in your GWT applications.

Hope that helps,
-Sumit Chandel

On Tue, Feb 3, 2009 at 3:04 PM, Matt Raible  wrote:

>
> I'm trying to get code coverage support for my GWT project. AFAICT, I
> can't use anything from Maven or Ant, I have to use the EclEmma plugin
> as described in the following issue:
>
> http://code.google.com/p/google-web-toolkit/issues/detail?id=779
>
> I'm using Eclipse 3.3 with the latest version of EclEmma with the JAR
> from tools/redist/emma in my plugins directory.
>
> I can run tests from Eclipse and they all pass. However, the coverage
> shows up as if my GWT classes aren't being tested. Furthermore, my
> "test" classes are showing up with good coverage and I don't believe
> they should be included at all.
>
> Any advice or howto I can use?
>
> Thanks,
>
> Matt
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Code Coverage with EclEmma

2009-02-03 Thread Matt Raible

I'm trying to get code coverage support for my GWT project. AFAICT, I
can't use anything from Maven or Ant, I have to use the EclEmma plugin
as described in the following issue:

http://code.google.com/p/google-web-toolkit/issues/detail?id=779

I'm using Eclipse 3.3 with the latest version of EclEmma with the JAR
from tools/redist/emma in my plugins directory.

I can run tests from Eclipse and they all pass. However, the coverage
shows up as if my GWT classes aren't being tested. Furthermore, my
"test" classes are showing up with good coverage and I don't believe
they should be included at all.

Any advice or howto I can use?

Thanks,

Matt
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---