RE: testing Tapestry applications (in general) [I]

2011-11-07 Thread Paul Field
ember 2011 18:55 To: Tapestry users Subject: Re: testing Tapestry applications (in general) 2011/11/04 15:01, Markus Johnston: > We very much would like to start writing view and controller tests. I > was wondering what other Tapestry users are doing, as far as testing > is concerned. Wha

Re: testing Tapestry applications (in general)

2011-11-04 Thread Christian Köberl
2011/11/04 15:01, Markus Johnston: > We very much would like to start writing view and controller tests. I was > wondering what other Tapestry users are doing, as far as testing is > concerned. What problems have you run into? What tools or approaches have > you found that work especially well?

Re: testing Tapestry applications (in general)

2011-11-04 Thread Markus Johnston
Thanks for the info. I'll probably check out newer versions of HTMLUnit then, to see if it is an option for us. On Fri, Nov 4, 2011 at 12:48 PM, Kalle Korhonen wrote: > On Fri, Nov 4, 2011 at 10:25 AM, Markus Johnston > wrote: > > I've found HTMLUnit, in the past to be utterly awful. At least

Re: testing Tapestry applications (in general)

2011-11-04 Thread Kalle Korhonen
On Fri, Nov 4, 2011 at 10:25 AM, Markus Johnston wrote: > I've found HTMLUnit, in the past to be utterly awful.  At least with our > web app (lots of ajax) HTMLUnit struggled and I ran into a lot of bugs. Yeah, I've heard that a few times and my own experience in the past was also that HTMLUnit c

Re: testing Tapestry applications (in general)

2011-11-04 Thread Markus Johnston
I've found HTMLUnit, in the past to be utterly awful. At least with our web app (lots of ajax) HTMLUnit struggled and I ran into a lot of bugs. On Fri, Nov 4, 2011 at 9:18 AM, Kalle Korhonen wrote: > Your mileage may vary but for my perspective, see > > http://docs.codehaus.org/display/TYNAMO/20

Re: testing Tapestry applications (in general)

2011-11-04 Thread Kalle Korhonen
Your mileage may vary but for my perspective, see http://docs.codehaus.org/display/TYNAMO/2010/07/30/Full+web+integration+testing+in+a+single+JVM. For service level tests, I tend to use Mockito a lot. Kalle On Fri, Nov 4, 2011 at 7:01 AM, Markus Johnston wrote: > We have been struggling (in my

testing Tapestry applications (in general)

2011-11-04 Thread Markus Johnston
We have been struggling (in my opinion) with a strategy to properly and completely test our web application (developed using Tapestry). We have some unit tests, but they are all centered on the code closer to the model. We have very few, if any, view and controller tests. We made some attempts i