This content has been marked as final.
Show 2 replies
-
1. Re: TestNG with SeamTest
coenos Feb 22, 2009 8:07 PM (in response to thiagoramosofm)I'm looking into this as well. There is hardly any documentation available. I'm struggling to get a simple test working. Sounds like the same scenario you are trying to get working.
Can you state your exact problem? Maybe I can help.
Coen
-
2. Re: TestNG with SeamTest
thiagoramosofm Feb 28, 2009 3:07 PM (in response to thiagoramosofm)Hi Coen,
My problem is that I can´t inject the Service Stateless Session Bean or any other EJB into the test class.
All the tutorials about testing in Seam and the examples that come with the Seam shows tests with seam components. Do you know what I mean?
All the EJB that are testing have an @Name on it!
I just don't know how to inject the non-components in the test without creating mock objects.
They simply get null.
I apreciate if you could help me with this.
Thank you for replying.
Best regards.
Thiago Ramos.