You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "David Arthur (JIRA)" <ji...@apache.org> on 2013/06/22 00:48:20 UTC
[jira] [Created] (CAMEL-6478) TestNG test cases not working
correctly with groups
David Arthur created CAMEL-6478:
-----------------------------------
Summary: 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
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