camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Arthur (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-6478) TestNG test cases not working correctly with groups
Date Fri, 21 Jun 2013 22:52:22 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-6478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Arthur updated CAMEL-6478:
--------------------------------

    Attachment: 0001-CAMEL-6478-Add-alwaysRun-true-to-TestNG-annotations.patch
    
> TestNG test cases not working correctly with groups
> ---------------------------------------------------
>
>                 Key: CAMEL-6478
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6478
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.11.0
>            Reporter: David Arthur
>         Attachments: 0001-CAMEL-6478-Add-alwaysRun-true-to-TestNG-annotations.patch
>
>
> When using the Camel TestNG integration, tests work fine when no -groups are specified,
but fail if a group is selected. 
> This is due to the default behavior of TestNG's annotations. @BeforeClass, @AfterClass,
etc need a "alwaysRun = true" argument in order to still run when groups are selected.
> This is really a peculiarity in the way TestNG works, but nonetheless, the Camel support
classes do not work with TestNG groups

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message