You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/06/23 09:29:20 UTC
[jira] [Resolved] (CAMEL-6478) TestNG test cases not working
correctly with groups
[ https://issues.apache.org/jira/browse/CAMEL-6478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-6478.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.10.5
> 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.10.5, 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