This content has been marked as final.
Show 3 replies
-
1. Re: arquillian test successful via eclipse but does not even run on command line
bmajsak Feb 15, 2013 11:26 AM (in response to jobame)How does your pom look like? And the test class?
-
2. Re: arquillian test successful via eclipse but does not even run on command line
jobame Feb 15, 2013 2:57 PM (in response to bmajsak)Please find enclosed the zipped and targz project (same content). It contains only src directories and poms without .classpath etc. This is the skeleton and copy only of the project (from work). It should throw the exception when executing the test with
mvn test -Parquillian-jbossas-managed
I created and compiled this skeleton at home and here I could not execute the test within eclipse because it would continously give me
org.jboss.arquillian.container.spi.ConfigurationException: jbossHome 'null' must exist
although I do have an arquillian.xml properly configured. However, on the command line the exception was reproducable.
-
ab23Bear.zip 32.9 KB
-
ab23Bear.tar.gz 10.1 KB
-
-
3. Re: arquillian test successful via eclipse but does not even run on command line
jobame Feb 21, 2013 7:17 AM (in response to jobame)The problem was the following part:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.12.3</version> <configuration> <parallel>methods</parallel> <threadCount>10</threadCount> <skip>false</skip> </configuration> </plugin>
which we changed into
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.12.3</version> <configuration> <forkMode>perTest</forkMode> <skip>false</skip> </configuration> </plugin>
Seems Arquillian cannot run tests in parallel.