[
https://issues.jboss.org/browse/AS7-5303?page=com.atlassian.jira.plugin.s...
]
Ondrej Zizka resolved AS7-5303.
-------------------------------
Resolution: Done
I've remembered now. <includes> and <excludes> should NOT be ignored,
because the single tests should run in the proper execution which is configured for that
particular test.
So the correct approach is that of FailSafe and should be used in SureFire, too.
TS: Determine whether to ignore <includes> configuration when
running single test from CLI.
-------------------------------------------------------------------------------------------
Key: AS7-5303
URL:
https://issues.jboss.org/browse/AS7-5303
Project: Application Server 7
Issue Type: Bug
Components: Test Suite
Reporter: Jakub Senko
Assignee: Ondrej Zizka
Currently, Test Suite is using surefire plugin to run integration tests. Failsafe is more
suitable to do this, and the goal is to migrate from surefire to failsafe for IT.
However, there is a difference in how surefire and failsafe behaves when running a single
test from CLI.
Surefire ignores <includes> pattern by default. This is optional
(
http://jira.codehaus.org/browse/SUREFIRE-806).
Failsafe does not ignore <includes> thus will not execute some tests that surefire
would. Currently, this is not optional (
http://jira.codehaus.org/browse/SUREFIRE-856).
It needs to be decided whether to ignore <includes> by default, in which case
http://jira.codehaus.org/browse/SUREFIRE-856 needs to be resolved before migrating to
failsafe (
https://jira.jboss.org/browse/AS7-4065), or not.
--
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