on the cactus homepage there's a comparision of the cactus approach and the
mock object approach.
mock objects are indeed a better wheel for some (most?) uses.
for mock objects of the servlet api check out http://www.mockobjects.com/
also nice: http://joe.truemesh.com/mockdoclet/

regards
 chris
----- Original Message -----
From: "cp" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Tapestry Developer" <[EMAIL PROTECTED]>
Sent: Wednesday, October 02, 2002 5:32 PM
Subject: Re: [Tapestry-developer] Code Coverage


> How does this compare to just using one of the JUnit extensions like
> Cactus? Sounds like you're reinventing the wheel...is it a better wheel
> you're building? ;)
>
> Corey
>
> [EMAIL PROTECTED] wrote:
>
> >Yes, I have "Mock" implementations of
> >HttpServletContext, HttpServletRequest, Session,
> >Response, etc.
> >
> >I already have the first couple of simple tests.
> >
> >This allows me 100% control and the framework code has
> >no idea its being tested.
> >
> >I expect to get most code up into the 70 - 85% range and
> >key classes close to 100%.
> >
> >I definiately need this before I can try and convert
> >everything over in 2.3 to the new render model needed
> >for JSP interopability.
> >
> >--
> >[EMAIL PROTECTED]
> >
> >http://tapestry.sf.net
> >
> >
> >>Personally I think it is absolutely fantastic.
> >>I seem to remember that you also mentioned something about being able to
do
> >>JUnit tests by simulating requests -- did I just imagine it or are you
really
> >>working on something like that?
> >>That would really allow testing things that are normally "untestable".
> >>Best regards,
> >>-mb
> >> [EMAIL PROTECTED] wrote:Any thoughts on the new code coverage reports?
> >>
> >>It's a lot of work to get good code coverage from within
> >>JUnit.
> >>
> >>I wired up my environment to collect code coverage from
> >>running the Tutorial and was easily able to push the
> >>overall number to 66%.
> >>
> >>In the long run, I expect to have the best code coverage
> >>figures for any open-source project out there.
> >>
> >>--
> >>[EMAIL PROTECTED]
> >>
> >>http://tapestry.sf.net
> >>
> >>
> >>-------------------------------------------------------
> >>This sf.net email is sponsored by: DEDICATED SERVERS only $89!
> >>Linux or FreeBSD, FREE setup, FAST network. Get your own server
> >>today at http://www.ServePath.com/indexfm.htm
> >>_______________________________________________
> >>Tapestry-developer mailing list
> >>[EMAIL PROTECTED]
> >>https://lists.sourceforge.net/lists/listinfo/tapestry-developer
> >>
> >>
> >>---------------------------------
> >>Do you Yahoo!?
> >>
> >>
> >New DSL Internet Access from SBC & Yahoo!
> >
> >
> >-------------------------------------------------------
> >This sf.net email is sponsored by:ThinkGeek
> >Welcome to geek heaven.
> >http://thinkgeek.com/sf
> >_______________________________________________
> >Tapestry-developer mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/tapestry-developer
> >
> >
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Tapestry-developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to