Re: Using Spock Mocks with PageTester

2012-10-22 Thread Tony Nelson
I'll take a look at that.  Thank you very much for the suggestion.


On Oct 22, 2012, at 11:10 AM, Alex Kotchnev  wrote:

> Tony,
>  I use Testify to accomplish what you describe (
> http://tapestrytestify.sourceforge.net/junit4.html) . I used it w/ EasyMock
> mocks, but I assume it should be very similar to that.
>
> Cheers - Alex K
>
> On Mon, Oct 22, 2012 at 10:27 AM, Tony Nelson  wrote:
>
>> Does anyone have an example of using Spock Mocks with PageTester?
>>
>> I'd like to substitute Mocks for @Injected resources and I can't seem to
>> find a way to make it happen.
>>
>> Has anyone figured out a good way to do this?
>>
>> Thanks in advance
>> -Tony
>>
>>
>>
>>
>> Since 1982, Starpoint Solutions has been a trusted source of human capital
>> and solutions. We are committed to our clients, employees, environment,
>> community and social concerns.  We foster an inclusive culture based on
>> trust, respect, honesty and solid performance. Learn more about Starpoint
>> and our social responsibility at
>> http://www.starpoint.com/social_responsibility
>>
>> This email message from Starpoint Solutions LLC is for the sole use of
>> the intended recipient(s) and may contain confidential and privileged
>> information.  Any unauthorized review, use, disclosure or distribution is
>> prohibited.  If you are not the intended recipient, please contact the
>> sender by reply email and destroy all copies of the original message.
>> Opinions, conclusions and other information in this message that do not
>> relate to the official business of Starpoint Solutions shall be understood
>> as neither given nor endorsed by it.
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>


Since 1982, Starpoint Solutions has been a trusted source of human capital and 
solutions. We are committed to our clients, employees, environment, community 
and social concerns.  We foster an inclusive culture based on trust, respect, 
honesty and solid performance. Learn more about Starpoint and our social 
responsibility at http://www.starpoint.com/social_responsibility

This email message from Starpoint Solutions LLC is for the sole use of  the 
intended recipient(s) and may contain confidential and privileged  information. 
 Any unauthorized review, use, disclosure or distribution is prohibited.  If 
you are not the intended recipient, please contact the sender by reply email 
and destroy all copies of the original message.  Opinions, conclusions and 
other information in this message that do not relate to the official business 
of Starpoint Solutions shall be understood as neither given nor endorsed by it.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Using Spock Mocks with PageTester

2012-10-22 Thread Alex Kotchnev
Tony,
  I use Testify to accomplish what you describe (
http://tapestrytestify.sourceforge.net/junit4.html) . I used it w/ EasyMock
mocks, but I assume it should be very similar to that.

Cheers - Alex K

On Mon, Oct 22, 2012 at 10:27 AM, Tony Nelson  wrote:

> Does anyone have an example of using Spock Mocks with PageTester?
>
> I'd like to substitute Mocks for @Injected resources and I can't seem to
> find a way to make it happen.
>
> Has anyone figured out a good way to do this?
>
> Thanks in advance
> -Tony
>
>
>
>
> Since 1982, Starpoint Solutions has been a trusted source of human capital
> and solutions. We are committed to our clients, employees, environment,
> community and social concerns.  We foster an inclusive culture based on
> trust, respect, honesty and solid performance. Learn more about Starpoint
> and our social responsibility at
> http://www.starpoint.com/social_responsibility
>
> This email message from Starpoint Solutions LLC is for the sole use of
>  the intended recipient(s) and may contain confidential and privileged
>  information.  Any unauthorized review, use, disclosure or distribution is
> prohibited.  If you are not the intended recipient, please contact the
> sender by reply email and destroy all copies of the original message.
>  Opinions, conclusions and other information in this message that do not
> relate to the official business of Starpoint Solutions shall be understood
> as neither given nor endorsed by it.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


Using Spock Mocks with PageTester

2012-10-22 Thread Tony Nelson
Does anyone have an example of using Spock Mocks with PageTester?

I'd like to substitute Mocks for @Injected resources and I can't seem to find a 
way to make it happen.

Has anyone figured out a good way to do this?

Thanks in advance
-Tony




Since 1982, Starpoint Solutions has been a trusted source of human capital and 
solutions. We are committed to our clients, employees, environment, community 
and social concerns.  We foster an inclusive culture based on trust, respect, 
honesty and solid performance. Learn more about Starpoint and our social 
responsibility at http://www.starpoint.com/social_responsibility

This email message from Starpoint Solutions LLC is for the sole use of  the 
intended recipient(s) and may contain confidential and privileged  information. 
 Any unauthorized review, use, disclosure or distribution is prohibited.  If 
you are not the intended recipient, please contact the sender by reply email 
and destroy all copies of the original message.  Opinions, conclusions and 
other information in this message that do not relate to the official business 
of Starpoint Solutions shall be understood as neither given nor endorsed by it.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org