Re: T5: testing using PageTester and EasyMock

2008-09-17 Thread Angelo Chen
this discussion rolling, we certainly need a little more info on testing in T5. -- View this message in context: http://www.nabble.com/T5%3A-testing-using-PageTester-and-EasyMock-tp19496126p19529056.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: T5: testing using PageTester and EasyMock

2008-09-17 Thread Peter Stavrinides
. - Original Message - From: Angelo Chen [EMAIL PROTECTED] To: users@tapestry.apache.org Sent: Wednesday, 17 September, 2008 1:16:57 PM GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: T5: testing using PageTester and EasyMock Hi, This will be a very interesting topic, I'd like

RE: T5: testing using PageTester and EasyMock

2008-09-17 Thread Russell Brown
Message- From: Alex Kotchnev [mailto:[EMAIL PROTECTED] Sent: 16 September 2008 17:39 To: Tapestry users Subject: Re: T5: testing using PageTester and EasyMock I was grappling with this issue myself, I still don't have a good answer to it. Because T5 is so heavily annotation driven (with the IoC

RE: T5: testing using PageTester and EasyMock

2008-09-17 Thread Russell Brown
To: Tapestry users Subject: Re: T5: testing using PageTester and EasyMock Hi all, I haven't got around to using PageTester yet, but I started using Easymock for my IoC services recently... Its quite amazing how you can create a full blown IoC service with all dependencies satisfied so easily

RE: T5: testing using PageTester and EasyMock

2008-09-17 Thread Angelo Chen
, a page class with populated services and a helper class with the same mocks held in an iterable fashion for convenience. Russell -- View this message in context: http://www.nabble.com/T5%3A-testing-using-PageTester-and-EasyMock-tp19496126p19531051.html Sent from the Tapestry - User

Re: T5: testing using PageTester and EasyMock

2008-09-17 Thread Peter Stavrinides
@tapestry.apache.org Sent: Wednesday, 17 September, 2008 2:00:12 PM GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: RE: T5: testing using PageTester and EasyMock Hi Peter, How have you done this? When I try to use Tapestry to Build my EasyMock services the resultant proxies are rejected by EasyMock

RE: T5: testing using PageTester and EasyMock

2008-09-17 Thread Russell Brown
have no truck with my mock service. Boo. Cheers Russell -Original Message- From: Peter Stavrinides [mailto:[EMAIL PROTECTED] Sent: 17 September 2008 14:08 To: Tapestry users Subject: Re: T5: testing using PageTester and EasyMock Sorry about that hit the send by accident, here

Re: T5: testing using PageTester and EasyMock

2008-09-17 Thread Alex Kotchnev
: T5: testing using PageTester and EasyMock Sorry about that hit the send by accident, here is the rest of it: @BeforeClass public static void setup() { // tapestry interfaces _mockAsm = createMock(ApplicationStateManager.class

Re: T5: testing using PageTester and EasyMock

2008-09-17 Thread Peter Stavrinides
. cheers, Peter - Original Message - From: Russell Brown [EMAIL PROTECTED] To: Tapestry users users@tapestry.apache.org Sent: Wednesday, 17 September, 2008 5:16:33 PM GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: RE: T5: testing using PageTester and EasyMock Hi Peter, Thanks

RE: T5: testing using PageTester and EasyMock

2008-09-17 Thread Russell Brown
: Re: T5: testing using PageTester and EasyMock Sorry about that hit the send by accident, here is the rest of it: @BeforeClass public static void setup() { // tapestry interfaces _mockAsm = createMock(ApplicationStateManager.class

RE: T5: testing using PageTester and EasyMock

2008-09-17 Thread Russell Brown
-Original Message- From: Russell Brown [mailto:[EMAIL PROTECTED] Sent: 17 September 2008 16:09 To: Tapestry users Subject: RE: T5: testing using PageTester and EasyMock Alex, Yeah. I think that the approach you outline may well work but is unworkable (if you know what I mean). I hold out

RE: T5: testing using PageTester and EasyMock

2008-09-16 Thread SergeEby
high test coverage indeed. Cheers Russell -Original Message- From: Russell Brown [mailto:[EMAIL PROTECTED] Sent: 15 September 2008 17:09 To: Tapestry users Subject: T5: testing using PageTester and EasyMock Hi, Does anyone have any ideas for testing components using mock

Re: T5: testing using PageTester and EasyMock

2008-09-16 Thread Alex Kotchnev
To: Tapestry users Subject: T5: testing using PageTester and EasyMock Hi, Does anyone have any ideas for testing components using mock services? I can create a MyAppMockModule class and use that to configure the page tester. This class builds mocks of my services, so far so good. I use