[arquillian-issues] [JBoss JIRA] Commented: (ARQ-404) Better reporting when Arquillian fails to initialise
Aslak Knutsen (JIRA)
jira-events at lists.jboss.org
Mon May 30 14:10:01 EDT 2011
[ https://issues.jboss.org/browse/ARQ-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605339#comment-12605339 ]
Aslak Knutsen commented on ARQ-404:
-----------------------------------
Or optionally, fail everyone with the same exception so the cause can be found in any of them:
{code}
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.acme.cdi.InjectionTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.42 sec <<< FAILURE!
Running com.acme.resource.InjectionTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.006 sec <<< FAILURE!
Running com.acme.ejb.TemperatureConverterTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.009 sec <<< FAILURE!
Running com.acme.jms.InjectionTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.008 sec <<< FAILURE!
Running com.acme.ejb31.NoInterfaceEJBTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.003 sec <<< FAILURE!
Running com.acme.cdi.random.RandomTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.007 sec <<< FAILURE!
Running com.acme.web.LocalRunServletTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.023 sec <<< FAILURE!
Running com.acme.cdi.payment.SynchronousPaymentProcessorTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.008 sec <<< FAILURE!
Running com.acme.ejb.InjectionTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.002 sec <<< FAILURE!
Results :
Tests in error:
com.acme.cdi.InjectionTestCase
com.acme.resource.InjectionTestCase
com.acme.ejb.TemperatureConverterTestCase
com.acme.jms.InjectionTestCase
com.acme.ejb31.NoInterfaceEJBTestCase
com.acme.cdi.random.RandomTestCase
com.acme.web.LocalRunServletTestCase
com.acme.cdi.payment.SynchronousPaymentProcessorTestCase
com.acme.ejb.InjectionTestCase
Tests run: 9, Failures: 0, Errors: 9, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
{code}
> Better reporting when Arquillian fails to initialise
> -----------------------------------------------------
>
> Key: ARQ-404
> URL: https://issues.jboss.org/browse/ARQ-404
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Base Implementation
> Affects Versions: 1.0.0.Alpha5
> Reporter: Stuart Douglas
> Assignee: Aslak Knutsen
> Fix For: 1.0.0.CR1
>
>
> At the moment when Arquillian fails to startup you get the following message:
> java.lang.RuntimeException: Arquillian has previously been attempted initialized, but failed. See previous exceptions for cause.
> It would be good if this could also tell you the test that it failed on, so you know where to look for the exception.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list