We use a customized TestSuite for our test cases, it works fine when executed in the IDE (Eclipse), but when i run mvn test then the test fails with a nondescript
[INFO] Surefire report directory: ...
[ERROR] There are test failures.
The config in pom.xml is
<argLine>-Xms500M -Xmx500M -Xmn250M</argLine>
testClasses after here....
When i tried it from the commandline with the debug option i saw a big block of text when then fork call happend, as mentioned in the documentation the classpath was very long. Although this might be the root of the problem i also noticed that the statement had double quotes which might not work
Forking command line: cmd.exe /X /C "C:\Programme\Java\jdk1.5.0_16\jre\bin\java -Xms500M -Xmx500M -Xmn250M -classpath "C:\...." org.apache.maven.surefire.booter.SurefireBooter tempFiles"
I cut out the long classpath and the file names after SurefireBooter but i think you see what i mean
It's no big deal as it runs fine on Linux and on Windows you can always execute it from the IDE.