[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:06:00 EDT 2011


    [ https://issues.jboss.org/browse/ARQ-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605336#comment-12605336 ] 

Aslak Knutsen commented on ARQ-404:
-----------------------------------

Failing the first, then skipping the rest is ok? 


{code}
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.acme.cdi.InjectionTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.424 sec <<< FAILURE!
Running com.acme.resource.InjectionTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.005 sec
Running com.acme.ejb.TemperatureConverterTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.004 sec
Running com.acme.jms.InjectionTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.003 sec
Running com.acme.ejb31.NoInterfaceEJBTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.002 sec
Running com.acme.cdi.random.RandomTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.005 sec
Running com.acme.web.LocalRunServletTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.005 sec
Running com.acme.cdi.payment.SynchronousPaymentProcessorTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.002 sec
Running com.acme.ejb.InjectionTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec

Results :

Tests in error: 
  com.acme.cdi.InjectionTestCase

Tests run: 9, Failures: 0, Errors: 1, Skipped: 8

[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