Cactus does unit testing, but requires a real servlet container to be running at the same time, which is problematic for an automated test suite (it would require manual setup).
I want something that operates fast and that I can run from inside Eclipse with a single button click. I'm basing what I do on MockObjects ... but they are lacking in the documentation category (both JavaDoc and standalone). I would have to pull apart their code to figure out how to do some of the necessary checks. It seemed less work, in the long run, to brew my own mock objects, and make the tests driven from XML script files. -- [EMAIL PROTECTED] http://tapestry.sf.net > 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
