-
1. Re: Running Seam maven2 TestNG tests
cperez Jun 23, 2009 9:25 AM (in response to coenos)This is the second topic I found with this stack trace that is pretty much the same I am currently getting when I try to run a SeamTest that makes a faces request but none of them have an answer.
Anybody has an idea why this is happening?
-
2. Re: Running Seam maven2 TestNG tests
jeanluc Jun 23, 2009 1:48 PM (in response to coenos)Did you put a breakpoint and debugged from there?
-
3. Re: Running Seam maven2 TestNG tests
cperez Jun 23, 2009 5:55 PM (in response to coenos)After trying everything I finally got the answer:
<web:ajax4jsf-filter url-pattern="*.faces"/>
If I don't set a url-pattern the test cases won't run eventhough everything works in my server without changing anything like the Seam documentation says.
-
4. Re: Running Seam maven2 TestNG tests
mdesignz Jun 26, 2009 12:53 PM (in response to coenos)I use Maven2 as well, and am always interested in how others set up their POMs to allow Seam testing. Did you follow a particular example on this list, or come up with your own? Care to share the relevant pieces of your POMs?
-
5. Re: Running Seam maven2 TestNG tests
rafaelri May 22, 2011 6:45 PM (in response to coenos)I am using maven 2 and got the exact same error. Fixed by copying web.xml and faces-config.xml from webapp/WEB-INF to test/resources/WEB-INF