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

Reply via email to