-
15. Re: JsfUnit2 with Primefaces?
badr Oct 3, 2011 1:13 PM (in response to mokelet)1) For the captcha i think it will be hard to test it :-O (how you can assert the image content with the typed text !!!)
2) witch mode you use your Arquillian (remote, managed or embedded?)
-
16. Re: JsfUnit2 with Primefaces?
mokelet Oct 3, 2011 3:17 PM (in response to badr)Hi,
1. I might have known it.
2. remote. I that wrong?
ty Nico
-
17. Re: JsfUnit2 with Primefaces?
badr Oct 11, 2011 1:46 PM (in response to mokelet)Hi,
try to use one war per test (and put juste you need for your test case ;-))
-
18. Re: JsfUnit2 with Primefaces?
mokelet Oct 11, 2011 4:12 PM (in response to badr)hmmm,
but it's not possible to add the two annotations @RunWith(Arquillian.class) and @RunWith(Suite.class) to use arquillian AND create a Testsuite. And I don't think thats a good idea to create a testmethode which call an other methode of a testclass. And I can't see another way :-(
-
19. Re: JsfUnit2 with Primefaces?
mokelet Oct 11, 2011 4:19 PM (in response to mokelet)ok, it seems that the solution is to use an abstract class
-
20. Re: JsfUnit2 with Primefaces?
mokelet Oct 12, 2011 7:01 AM (in response to mokelet)hm, ok. that save time because the build of an Deployment is less frequently. But Arquillian copy the war-files as often as Testclasses are. That doesn't save memory...
-
21. Re: JsfUnit2 with Primefaces?
badr Oct 12, 2011 1:50 PM (in response to mokelet)arquillian undeploy the war after finishing test, so it will save memory also