[arquillian-issues] [JBoss JIRA] Commented: (ARQ-435) Add @FailureLogging feature and appropriate listener

Karel Piwko (JIRA) jira-events at lists.jboss.org
Tue May 17 10:22:01 EDT 2011


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

Karel Piwko commented on ARQ-435:
---------------------------------

Did I got right that idea of this is to make a screenshot and log actual state of the application (e.g. generated HTML) if test fails?

Can you please elaborate on how this should be used?

Do you want something like following?

{code}

@FailureLogging
@RunWith(Arquillian.class)
public class Test {
...
}

{code}

and

{code}

@RunWith(Arquillian.class)
public class Test {

   @Test
   @FailureLogging
   public void test() {
      ...
   }  

}

{code}








> Add @FailureLogging feature and appropriate listener
> ----------------------------------------------------
>
>                 Key: ARQ-435
>                 URL: https://issues.jboss.org/browse/ARQ-435
>             Project: Arquillian
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Extension - Selenium
>            Reporter: Lukáš Fryč
>
> Get inspired in formet Ajocado's implementation:
> https://github.com/arquillian/arquillian-ajocado/blob/1.0.0.Alpha2/testng/src/main/java/org/jboss/arquillian/ajocado/testng/listener/FailureLoggingTestListener.java

--
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