1

I am getting following error while running mvn test on project

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.13:test (default-test) on project tcw-fip-mbp: There are test failures. [ERROR]

[ERROR] Please refer to C:\Project\workspace\RegRep2\TCW\MBP\target\surefire-reports for the individual test results. [ERROR]

-> [Help 1] [ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

Community
  • 1
  • 1
shobhit jain
  • 25
  • 1
  • 6

2 Answers2

1

Please refer to C:\Project\workspace\RegRep2\TCW\MBP\target\surefire-reports for the individual test results. This directory contains the output per test and all the results. That should be the start of your quest to make the tests succeed.

bobble14988
  • 1,749
  • 5
  • 26
  • 38
Robert Scholte
  • 11,889
  • 2
  • 35
  • 44
0

You can also solve it by adding plugin into you pom.xml file

 <plugin>  
    <groupId>org.apache.maven.plugins</groupId>  
    <artifactId>maven-surefire-plugin</artifactId>  
    <version>2.22.2</version>  
    <configuration>  
      <skipTests>true</skipTests>  
    </configuration>  
 </plugin> 
Muhammad Numan
  • 237
  • 4
  • 20