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
.
- 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
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
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
, 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
@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
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
: 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
.
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
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
-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
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
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
13 matches
Mail list logo