No, I haven't seen examples of the MOCK precendence. But think I remember
Gavin describing that it would always be used if it was present. That is, it
should be in your classpath during tests, but not when you run it. Seam would
always install the component marked with MOCK precedence if it c
Ok, below is the JUnit4 version of SeamTest. If there is interest it could be
included into seam. There are only small changes which could be refactored into
a subclass so both TestNG and JUnit4 share a common base class.
In details the differences are the init and shutdown methods annotated with
Ok, I've had no idea that this was the case. I have to port SeamTest before
testing again, since I'm using JUnit4 instead of TestNG.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056865#4056865
Reply to the post :
http://www.jboss.com/index.html?module=bb&o
Could you post example code? If you're extending SeamTest the mock contexts
are setup for you.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056858#4056858
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056858
__