-
1. How to work with multiple test classes?
aslak Mar 17, 2011 5:08 PM (in response to baradon)There is no trick. Sounds like you have a error in your ant test execution setup.
Maybe this can give you some tips: https://github.com/mojavelinux/arquillian-showcase/tree/master/cdi/
-
2. How to work with multiple test classes?
baradon Mar 21, 2011 8:31 AM (in response to aslak)Hi,
okay. Now it works. I have a bunch of test classes, and all tests are performed.
However, the server is started for every single test class, and stopped afterwards. Only to be restarted for the next class. For me, this seems to be a bit inefficient.
I would like to have the server started only once (and of course having the test.ear deployed only once), than run through all tests, shut down everything and create the report.
br,
Heiner
-
3. How to work with multiple test classes?
aslak Mar 21, 2011 8:37 AM (in response to baradon)The server will only be restarted once if you don't fork a new JVM pr test.
We currently don't support to run multiple testclasses against the same EAR, but that's coming down the line.
-
4. Re: How to work with multiple test classes?
baradon Mar 21, 2011 10:10 AM (in response to aslak)Hi,
thanks for the info.
Testing against a dedicated (application) EAR is possible: I do not include the classes-to-be-tested into the arquillian-ear, but deploy the application beforehand. Doing so, I actually don't mind, whether the test.ear is deployed once or multiple times. My concern was, that our application takes some time to start.
-
5. Re: How to work with multiple test classes?
gamba Jun 13, 2013 4:33 AM (in response to aslak)Are multiple tesclasses, like a TestAll-Junit-Class/Method currently supported by Arquillian?
I don't want to deploy a seperate ear for every testclass.
-
6. Re: How to work with multiple test classes?
bmajsak Jun 13, 2013 5:00 AM (in response to gamba)I hope this will help you Gamba.