[ 
https://issues.apache.org/jira/browse/SUREFIRE-1835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17185112#comment-17185112
 ] 

Tibor Digana edited comment on SUREFIRE-1835 at 8/26/20, 11:24 AM:
-------------------------------------------------------------------

[~nitor-jonasb]
You should send an email to [email protected] (see [Project Mailing 
Lists|https://maven.apache.org/mailing-lists.html]) and discuss the 
implementation approach.

I found the same problem at the 
[stackoverflow|https://stackoverflow.com/questions/4174696/making-maven-run-all-tests-even-when-some-fail]
 as well.



was (Author: tibor17):
[~nitor-jonasb]
You should send an email to 


> failsafe plugin's verify goal does not honor `mvn --fail-at-end`
> ----------------------------------------------------------------
>
>                 Key: SUREFIRE-1835
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1835
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Failsafe Plugin
>    Affects Versions: 2.20.1, 3.0.0-M4
>         Environment: Maven 3.6.3
>            Reporter: Jonas Berlin
>            Priority: Minor
>
> If I run {color:#ff0000}{{mvn --fail-at-end verify}}{color} on a multi-module 
> project with the following configuration in several modules
> {{<plugin>}}
>  {{  <artifactId>maven-failsafe-plugin</artifactId>}}
>  {{  <version>3.0.0-M4</version>}}
>  {{  <executions>}}
>  {{    <execution>}}
>  {{      <goals>}}
>  {{        <goal>integration-test</goal>}}
>  {{        <goal>verify</goal>}}
>  {{      </goals>}}
>  {{    </execution>}}
>  {{  </executions>}}
>  {{  <configuration>}}
>  {{    <includes>}}
>  {{      <include>${integration.test.glob}</include>}}
>  {{    </includes>}}
>  {{  </configuration>}}
>  {{</plugin>}}
> h2. Expected behaviour:
> Due to the {{{color:#FF0000}--fail-at-end{color}}} flag, tests of all modules 
> are run regardless of failures and after that the maven build fails in case 
> of failures.
> h2. Actual behaviour:
> The "verify" goal halts the build at the first module with a problem. If I 
> add <testFailureIgnore>true</testFailureIgnore> in the <configuration> 
> section, it *does* run tests of all modules, but then the maven build exits 
> with success regardless of failures.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to