Re: How to get code coverage of Integration Test ?

2014-11-28 Thread Stephan Windmüller
On 29.01.2013, Lenny Primak wrote: > Have you tried running in production mode? That might work better. Just tested it, enabling production mode has no effect. - Stephan - To unsubscribe, e-mail: users-unsubscr...@tapestry.ap

Re: How to get code coverage of Integration Test ?

2014-11-28 Thread Stephan Windmüller
On 28.01.2013, Julien Smadja wrote: > And my problem is : *tapestry's components, pages, forms don't seem to be > instrumented* because there is no coverage when watching in Sonar Report. > > I have a coverage percent for classes in packages like domain, but nothing > in pages or components. Thi

Re: How to get code coverage of Integration Test ?

2013-01-29 Thread Lenny Primak
Have you tried running in production mode? That might work better. On Jan 29, 2013, at 3:05 AM, Stephan Windmüller wrote: > On 28.01.2013 15:58, Julien Smadja wrote: > >> I have a coverage percent for classes in packages like domain, but nothing >> in pages or components. >> >> Do you have

Re: How to get code coverage of Integration Test ?

2013-01-29 Thread Stephan Windmüller
On 29.01.2013 11:29, Julien Smadja wrote: > Unfortunately, I think I won't be able to automatize this task. You could try the integration server from Jetbrains, Teamcity, but I do not know if it is able to perform the same instrumentation as IDEA. http://www.jetbrains.com/teamcity/ - Stephan

Re: How to get code coverage of Integration Test ?

2013-01-29 Thread Julien Smadja
Yes, it works. I had to use Tomcat server instead of mvn tomcat:run command in Intellij Idea. Unfortunately, I think I won't be able to automatize this task. Thank you for your answer.

Re: How to get code coverage of Integration Test ?

2013-01-29 Thread Julien Smadja
Thank you, I'll test your solution with Idea 12, and I'll tell you if it works too. 2013/1/29 Stephan Windmüller > On 28.01.2013 15:58, Julien Smadja wrote: > > > I have a coverage percent for classes in packages like domain, but > nothing > > in pages or components. > > > > Do you have a solut

Re: How to get code coverage of Integration Test ?

2013-01-29 Thread Stephan Windmüller
On 28.01.2013 15:58, Julien Smadja wrote: > I have a coverage percent for classes in packages like domain, but nothing > in pages or components. > > Do you have a solution for this ? Is this a problem with javassist ? IIRC we had the same problem using EMMA[0]. What did work was the code covera

Re: How to get code coverage of Integration Test ?

2013-01-28 Thread Steve Eynon
T5 instruments pages and components itself and uses it's own class loader to reload them, so it's very unlikely Sonar is able to hook that. (Not that I know anything of Sonar.) - To unsubscribe, e-mail: users-unsubscr...@tapestry.

How to get code coverage of Integration Test ?

2013-01-28 Thread Julien Smadja
Hello, I'm working on a 40K lines of code project. We're using : 5.3.3 0.4.4 3.3.3 0.6.1.201212231917 I'm launching my application with *mvn clean tomcat:run* with agent : * -javaagent:/Users/juliensmadja/.m2/repository/org/jacoco/org.jacoco.agent/0.6.1.201212231917/jacocoagent.jar=destfile