Be careful that this clover plugin is deprecated. It is now attlassian who delivers it.
cheers arnaud On Fri, Mar 21, 2008 at 10:12 AM, Philippe Kernevez <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > The question is, is it possible to use your plug-in along with clover and > cobertura to get code coverage at run time? > > Yes, we used it with Clover and provides a sample to do that, but not into a > J2EE server. > > You need to deploy you clover instrumented code into your J2EE server (more > information within the maven clover plugin), then use the maven fitnesse > plugin for running your suites. > > > > In our example, we don't deploy our code into a server, all the container > services are moked and we only need a JVM, that's the raison why we can run > the goal "fitnesse:run". This configuration is available there (the link was > broken) > http://svn.codehaus.org/mojo/trunk/mojo/fitnesse-maven-plugin/src/it/multiproject/pom.xml > > In this case you need to define you fitnesse path using the clover > classifier jar instead of the default one (ie > NameOfYourJar-Version-clover.jar instead of NameOfYourJar-Version.jar). > > > > You need to read the clover plugin documentation > http://maven.apache.org/plugins/maven-clover-plugin/ for building and deploy > a war/ear build with clover instrumented code, then call fitnesse:run or > fitnesse:remotecall (for executing your test) on a pre-site phase as we do > in our sample, then call clover:clover for building the report. > > > > Regards, > > Philippe > > > > > > > > > ________________________________ > > > From: Ramaswamy, Pudur [mailto:[EMAIL PROTECTED] > Sent: jeudi 20 mars 2008 18:07 > To: Philippe Kernevez; Antoine Véret; [email protected] > Subject: RE: fitnesse-maven-plugin - seems not suitable for run-time > analysis > > > > Thanks Philippe for your answer. > > > > We have been using FiTNesse for about 4 months now. I took a formal training > in Scrum and FiTNesse. > > The doubt in our mind is, when we run our fixtnesse tests against a J2EE > application deployed on Tomcat server for example, how can we use your > plug-in to measure how much of the code deployed on the server is covered by > the fitnesse tests at run time? > > > > The question is, is it possible to use your plug-in along with clover and > cobertura to get code coverage at run time? > > > > > > > Thanks, > > -pudur > > ________________________________ > > > From: Philippe Kernevez [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 20, 2008 2:22 AM > To: Ramaswamy, Pudur; 'Antoine Véret'; [email protected] > Subject: RE: fitnesse-maven-plugin - seems not suitable for run-time > analysis > > > > > > Hi Pudur, > > > > FitNesse (http://fitnesse.org/ ) isn't a code coverage tools. It's an > acceptance testing framework. > > In the FAQ we explain how to integrate it with code coverage tools (for > example Clover, JCoverage or Cobertura). > > We only provide an example with Clover, because it's the only framework I > really use with our plugin on a project. > > > > You should look at the tools I mentioned previously in my mail. > > > > Regards, > > Philippe > > > > > > > ________________________________ > > > From: Ramaswamy, Pudur [mailto:[EMAIL PROTECTED] > Sent: mercredi 19 mars 2008 22:37 > To: Antoine Véret > Cc: [EMAIL PROTECTED] > Subject: fitnesse-maven-plugin - seems not suitable for run-time analysis > > > > Dear Sirs, > > > > After spending quite a bit of time, we are under the impression, the > plug-in can only do code coverage at static time not at run-time. We wanted > a plug-in or develop one which will do code coverage at run-time when J2EE > application is deployed and running on the Tomcat server. I'm not sure your > plug-in would do in-container run-time code coverage analysis of > instrumented jars deployed on the Tomcat server. > > > > Any feedback is appreciated. If this can not do run-time analysis, please > make this clear in your FAQ. > > > > > Thanks, > > -pudur > > ________________________________ > > > ________________________________ > > > > > > Ce message Envoi est certifié sans virus connu (AVG Pro). > Analyse effectuée par AVG. > Version: 7.5.519 / Base de données virus: 269.21.7/1335 - Date: 19/03/2008 > 09:54 > > > > > Ce message Envoi est certifié sans virus connu (AVG Pro). > Analyse effectuée par AVG. > Version: 7.5.519 / Base de données virus: 269.21.8/1337 - Date: 20/03/2008 > 20:10 > -- .......................................................... Arnaud HERITIER .......................................................... OCTO Technology - aheritier AT octo DOT com www.octo.com | blog.octo.com .......................................................... ASF - aheritier AT apache DOT org www.apache.org | maven.apache.org ........................................................... --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
