camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-6478) TestNG test cases not working correctly with groups
Date Sun, 23 Jun 2013 07:05:20 GMT

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

Claus Ibsen updated CAMEL-6478:
-------------------------------

      Component/s: camel-test
         Priority: Minor  (was: Major)
    Fix Version/s: 2.12.0
                   2.11.1
         Assignee: Claus Ibsen

Thanks for the 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
>          Components: camel-test
>    Affects Versions: 2.11.0
>            Reporter: David Arthur
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.11.1, 2.12.0
>
>         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