Hi, besides of testing the application at a whole (based on Grinder or httpunit), has anyone succeeded check the Pages or Components directly simulating the request (like StrutsTest) ?
I'm strongly interested in examples. I tried to understand examples that were delivered with Tapestry 4.0b2 but unfortunately due to my limited time I failed in this topic... - Ralf -----Ursprüngliche Nachricht----- Von: Marc Tremblay [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 11. September 2005 00:35 An: Tapestry users Betreff: Re: How to write unit test for tapestry 4? The Grinder website makes it sound much more for load testing than either unit or integration testing. I think you'll have more luck with something like Selenium (http:// selenium.thoughtworks.com/), or Watir (http://wtr.rubyforge.org/) for integration testing. M. On 9-Sep-05, at 11:54 AM, Jesse Kuhnert wrote: > I haven't used grinder, but I have used httpunit and found it > incredibly > painful to get working properly in junit...I'm using testng now but > have > since ditched all of that code in favor of tapestrys built-in > "Creator" > class. It lets you call all of the methods on your page/components, > which is > perfect for functional tests.. > > I don't know what you'd use for integration type tests...Maybe > grinder? > > On 9/9/05, Konstantin Ignatyev <[EMAIL PROTECTED]> wrote: > >> >> The Grinder - the best tool for the job >> http://grinder.sourceforge.net/ >> >> --- Henri Dupre <[EMAIL PROTECTED]> wrote: >> >> >>> I think Http unit is the best way to go for web page >>> testing. >>> I'd be curious to know if there are any ways to test >>> components. >>> >>> >>> On 9/8/05, Jun Tsai <[EMAIL PROTECTED]> wrote: >>> >>>> hi,all >>>> How to write unit test for tapestry4? >>>> Thanks. >>>> Jun Tsai >>>> >>>> -- >>>> Welcome to China Java Users Group(CNJUG). >>>> http://cnjug.dev.java.net >>>> >>>> >>>> >>> >>> >>> -- >>> Thanks, >>> >>> Henri. >>> >>> >>> >> --------------------------------------------------------------------- >> >>> To unsubscribe, e-mail: >>> [EMAIL PROTECTED] >>> For additional commands, e-mail: >>> [EMAIL PROTECTED] >>> >>> >>> >> >> >> Konstantin Ignatyev >> >> >> >> >> PS: If this is a typical day on planet earth, humans will add fifteen >> million tons of carbon to the atmosphere, destroy 115 square miles of >> tropical rainforest, create seventy-two miles of desert, eliminate >> between >> forty to one hundred species, erode seventy-one million tons of >> topsoil, add >> 2,700 tons of CFCs to the stratosphere, and increase their >> population by >> 263,000 >> >> Bowers, C.A. The Culture of Denial: Why the Environmental Movement >> Needs a >> Strategy for Reforming Universities and Public Schools. New York: >> State >> University of New York Press, 1997: (4) (5) (p.206) >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: tapestry-user- >> [EMAIL PROTECTED] >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]