[
https://issues.jboss.org/browse/ARQ-605?page=com.atlassian.jira.plugin.sy...
]
Tom Barlow commented on ARQ-605:
--------------------------------
Cedric,
I think this 'alwaysRun' kind of doubles up for:
'run in all groups regardless of whether it has been excluded'
and
'run even after failure'.
Is this correct? If so, we could somehow split this up into two distinct cases?
I think the reason Arq is using it is to make sure that post-test operations are done if
something fails.
Arquillian TestNG base class breaks tests TestNG groups
-------------------------------------------------------
Key: ARQ-605
URL:
https://issues.jboss.org/browse/ARQ-605
Project: Arquillian
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Integration Test Suite
Affects Versions: 1.0.0.CR5
Reporter: Tom Barlow
The 'alwaysRun' parameter on the Arquillian TestNG base class causes these
methods to ALWAYS get run, even when Arquillian tests are excluded via their group.
@BeforeSuite(alwaysRun = true)
public void arquillianBeforeSuite() throws Exception
This has a side effect of breaking maven profiles that use testng groups to select their
tests.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira