-
1. Re: WAR Tests always run green in Liberty
kpiwko May 12, 2014 11:03 AM (in response to stardestroyer)Hi,
in case that something in test fails before Arquillian is fully initialized, JUnit reported might get reports that corresponds to no actual code being executed - hence they are always passing. I suggest to run your test with -Darquillian.debug=true which should provide an output that should show what went wrong. Please post the output it here if the error would not be obvious from there.
Thanks,
Karel
-
2. Re: WAR Tests always run green in Liberty
stardestroyer May 12, 2014 11:11 AM (in response to kpiwko)Thanks for the suggestion. Created the debug log, but I can't tell what could be wrong based on it. Test does seem to execute. Log is available here: https://dl.dropboxusercontent.com/u/2989393/arq-debug.log.
-
3. Re: WAR Tests always run green in Liberty
robert.panzer May 14, 2014 6:59 AM (in response to stardestroyer)Are you using Arquillian 1.1.4.Final?
It is a known bug that if your test fails because it cannot be cleanly deployed all tests are green.
See https://issues.jboss.org/browse/ARQ-1758
In this case it should get better if you go back to arquillian 1.1.3.Final.
Kind regards,
Robert
-
4. Re: WAR Tests always run green in Liberty
stardestroyer May 20, 2014 6:44 PM (in response to robert.panzer)Yes, this was 1.1.4 Final and though the test was cleanly deployed (I examined the resulting WAR file and it was correctly built, dependencies were found) going back to 1.1.3 solved the problem. thanks.