[
https://issues.apache.org/jira/browse/SUREFIRE-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15306087#comment-15306087
]
Julien Herr commented on SUREFIRE-1253:
---------------------------------------
In fact, I think it's not an issue and "configfailurepolicy" is not working
like that:
>From documentation:
> Whether TestNG should continue to execute the remaining tests in the suite or
> skip them if an @Before* method fails. Default behavior is skip.
If child suite-file is missing, no `@Before*` is run and the policy is not
checked.
We can discuss about it on a github ticket but I can't say if it will be fixed
a day.
> configfailurepolicy to allow continue if child suite-file is missing
> --------------------------------------------------------------------
>
> Key: SUREFIRE-1253
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1253
> Project: Maven Surefire
> Issue Type: Improvement
> Components: Maven Failsafe Plugin
> Affects Versions: 2.19.1
> Environment: Any
> Reporter: Noam Manos
>
> Currently configfailurepolicy=continue does not work when TestNG suite-files
> contains a missing suite-file, for example:
> <suite-files>
> <suite-file path="missing_file.xml"></suite-file>
> <suite-file path="existing_file.xml"></suite-file>
> </suite-files>
> Will not run anything, and will fail on:
> Running TestSuite
> java.io.FileNotFoundException: missing_file.xml (The system cannot find the
> file specified)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)