This content has been marked as final.
Show 1 reply
-
1. Re: Seam unit test
manarh Sep 8, 2015 7:32 AM (in response to vata2999)Hi Omid,
Seam unit tests don't require running container such as Arquillian for business or general logic in your application, but you need to prepare a test data somehow. Look for an example in Seam documentation like Chapter 38. Testing Seam applications
So if you need to get an instance and don't want to create it yourself or let Arquillian to start container, try to use what is in InterpolatorTest where MockContainerTest class is extended - jboss-seam/InterpolatorTest.java at Seam_2_3 · seam2/jboss-seam · GitHub