RE: Testing pages

2006-05-05 Thread Rob Dennett
l and guarantee that it is the one used? Thanks for your help, Rob -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Friday, May 05, 2006 1:05 PM To: 'Tapestry users' Subject: RE: Testing pages When you use the Creator, you pass in a Map of properties. I belie

RE: Testing pages

2006-05-05 Thread James Carman
ssage- From: Rob Dennett [mailto:[EMAIL PROTECTED] Sent: Friday, May 05, 2006 1:55 PM To: Tapestry users Subject: RE: Testing pages Let's say that the page injects a service which has a routine called getFoo and that this routine calls upon the database for values to return. Is there a

Re: Testing pages

2006-05-05 Thread Andreas Andreou
--- >From: Henri Dupre [mailto:[EMAIL PROTECTED] >Sent: Friday, May 05, 2006 11:38 AM >To: Tapestry users >Subject: Re: Testing pages > >We implemented all our tests with HtmlUnit. I'm very happy with it. With >tapestry 4, there is an id tag rendered with every componen

RE: Testing pages

2006-05-05 Thread Rob Dennett
ssage- From: Henri Dupre [mailto:[EMAIL PROTECTED] Sent: Friday, May 05, 2006 11:38 AM To: Tapestry users Subject: Re: Testing pages We implemented all our tests with HtmlUnit. I'm very happy with it. With tapestry 4, there is an id tag rendered with every component, it makes it very easy to

Re: Testing pages

2006-05-05 Thread Henri Dupre
We implemented all our tests with HtmlUnit. I'm very happy with it. With tapestry 4, there is an id tag rendered with every component, it makes it very easy to test stuff with HtmlUnit! I'm not sure what do you mean with mock services? Henri. On 5/5/06, Rob Dennett <[EMAIL PROTECTED]> wrote:

Testing pages

2006-05-05 Thread Rob Dennett
Can you test your pages using HtmlUnit with mock services? I have a service that is drawing data from the database and I would like to fake that for testing purposes, but I can’t figure out how to do it. Thanks for your help, Rob -- No virus found in this outgoing message. Checked by AVG

Testing pages

2006-04-24 Thread Rob Dennett
I am practicing Test-Driven Development using Kent Tong’s model in his book Enjoying Web Development with Tapestry. I have tested the first page of my application and it runs pretty well, but now I want to test the second page in isolation. I am using TestNG and HtmlUnit. I want to get an Htm