[OWASP-ESAPI] OT: Eclipse plugins for code coverage and JUnit testing

Pawan Singh pawan.singh at owasp.org
Mon Aug 31 00:24:44 EDT 2009


Here is one great Eclipse plugin for code coverage:
http://www.eclemma.org/

--Pawan



On Sun, Aug 30, 2009 at 5:44 PM, Dan Stine <dstine.code at gmail.com> wrote:

> I've had success with Cobertura.  So far I've mostly been interested
> in answering the same basic question - whether or not blocks of code
> or even entire classes have been exercised by the test suite.
>
> I've only used the Ant tasks.  I don't think there is an Eclipse plug-in.
>
> One stumbling block was that since interfaces aren't instrumented,
> they are not emitted by the instrumentation task.  So be sure to copy
> them over separately or else your unit tests won't run properly.
>
> Dan
>
>
> On Sun, Aug 30, 2009 at 5:11 PM, Kevin W. Wall<kevin.w.wall at gmail.com>
> wrote:
> > This is slightly OT, but I was wondering if anyone on this list
> > has had any experience with any 'code coverage' tools (especially
> > those that are Eclipse plugins).
> >
> > I'm trying to write JUnit tests for some new ESAPI Java code using
> > Eclipse and would like to be able to have some kind of assistance to
> > ensure that I've at least done a decent jump 'covering' the class under
> > test. (I realize there are many variations of definitions of 'coverage',
> > but at this point, I'd be happen with even the simplest definition of
> > executing all the executable lines of code at least once.)
> >
> > I found a long list of open source code coverage tools at:
> >        http://java-source.net/open-source/code-coverage
> > plus several others via Google search.
> >
> > I don't have time to experiment with them all, so was wondering
> > if anyone has any recommendations they could make that they have
> > used and are happy with. (Also, recommendations to avoid a certain
> > tool / plugin is OK too.)
> >
> > Thanks in advance,
> > -kevin
> > --
> > Kevin W. Wall
> > "The most likely way for the world to be destroyed, most experts agree,
> > is by accident. That's where we come in; we're computer professionals.
> > We cause accidents."        -- Nathaniel Borenstein, co-creator of MIME
> >
> > _______________________________________________
> > OWASP-ESAPI mailing list
> > OWASP-ESAPI at lists.owasp.org
> > https://lists.owasp.org/mailman/listinfo/owasp-esapi
> >
> _______________________________________________
> OWASP-ESAPI mailing list
> OWASP-ESAPI at lists.owasp.org
> https://lists.owasp.org/mailman/listinfo/owasp-esapi
>



-- 
Thanks,

Pawan Singh
Software Development Support
pawan.singh at owasp.org
www.owasp.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.owasp.org/pipermail/owasp-esapi/attachments/20090830/0a6ef1b6/attachment.html 


More information about the OWASP-ESAPI mailing list