[seam-dev] Manually cleaning request context in wicket tester.

Marek Smigielski marek.smigielski at gmail.com
Tue Jan 25 04:34:57 EST 2011


Hi,

I was trying to write some more complex test scenario for wicket
module, but I have problem with CDI contexts. When I access second
page through SeamWicketTester object, request context still is the
same as in previous one.  Is there any way to manualy flush context in
CDI?

Without it it will be hard to write some integration test in realworld
business application when you need some more steps to test, and want
to see how different objects are injected to your pages.

As I understand there will be also impossible to test conversation
scope behaviour. Do you have any advice how to do it?

Or should I use frameworks like selenium?


It will be good feature to manually control context switching in
arquillian but I don't know whether it is possible.


regards,

Marek Smigielski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/seam-dev/attachments/20110125/24555136/attachment.html 


More information about the seam-dev mailing list