Sumit Sharma created SUREFIRE-1267:
--------------------------------------
Summary: Getting Error With Maven Surifire pluging with TesNG
SoftAssert.
Key: SUREFIRE-1267
URL: https://issues.apache.org/jira/browse/SUREFIRE-1267
Project: Maven Surefire
Issue Type: Bug
Components: TestNG support
Affects Versions: 2.19.1
Reporter: Sumit Sharma
I am using Maven Surefire plugin with TestNG SoftAssert. When I am catching any
softassert in my Test case SureFire Plugin giving below error. I am using
sofAssert.assertAll() methode in my @Test Annotation.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 57.062 s
[INFO] Finished at: 2016-08-01T16:30:26+05:30
[INFO] Final Memory: 16M/220M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on
project investProject: There are test failures.
[ERROR]
[ERROR] Please refer to C:\MavenTestNGPOC\investProject\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:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)