You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by cat-in-a-hat <pe...@yahoo.com> on 2010/06/02 23:42:26 UTC

Re: How to test a link in wicket:links

Hi Kent,

Thanks for the answer, but that looks like it requires Spring, I'm not using
Spring. I was hoping to use the test framework that is included in Wicket,
not go outside it. 

I come across this doing a demo of Wicket and it kind of broke the whole
spiel about "Look, you can do unittests of the GUI!!" thing.


-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-test-a-link-in-wicket-links-tp2233376p2240885.html
Sent from the Wicket - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: How to test a link in wicket:links

Posted by Igor Vaynberg <ig...@gmail.com>.
wicket:link is a convenience, if it doesnt fit your usecase then use a
real link with wicket id, that is what wicket:link does for you
anyways.

if you dont want to do that then figure out how to parse the generate
href out of markup generated by the tester.

-igor

On Wed, Jun 2, 2010 at 2:42 PM, cat-in-a-hat <pe...@yahoo.com> wrote:
>
> Hi Kent,
>
> Thanks for the answer, but that looks like it requires Spring, I'm not using
> Spring. I was hoping to use the test framework that is included in Wicket,
> not go outside it.
>
> I come across this doing a demo of Wicket and it kind of broke the whole
> spiel about "Look, you can do unittests of the GUI!!" thing.
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-test-a-link-in-wicket-links-tp2233376p2240885.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org