[jira] [Commented] (SUREFIRE-1267) Maven Surifire pluging fails with TesNG SoftAssert.

2017-04-08 Thread Tibor Digana (JIRA)

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

Tibor Digana commented on SUREFIRE-1267:


[~sumitsharma]
The bottom of log is useless. Pls provide entire log.
Check it out with Version 2.20.
This version is available in plugin repository 
https://repository.apache.org/content/repositories/maven-1330/ and will be 
promoted soon.

> Maven Surifire pluging fails 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 Project: There are test failures.
> [ERROR] 
> [ERROR] Please refer to C:\MavenTestNG\Project\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.15#6346)


[jira] [Commented] (SUREFIRE-1267) Maven Surifire pluging fails with TesNG SoftAssert.

2016-09-19 Thread Julien Herr (JIRA)

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

Julien Herr commented on SUREFIRE-1267:
---

Yes. 

`SoftAssert` is a way to make many assertions in one time.
It allows you to have all assertion feedbacks instead of having to run the same 
test many times.
And `sofAssert.assertAll()` is the method which will check all registered 
assertions.

More details with http://beust.com/weblog/2012/07/29/reinventing-assertions/ or 
https://rameshbaskar.wordpress.com/2013/09/11/soft-assertions-using-testng/

About the issue, I don't see why it is failing.

> Maven Surifire pluging fails 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 Project: There are test failures.
> [ERROR] 
> [ERROR] Please refer to C:\MavenTestNG\Project\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)


[jira] [Commented] (SUREFIRE-1267) Maven Surifire pluging fails with TesNG SoftAssert.

2016-09-19 Thread Tibor Digana (JIRA)

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

Tibor Digana commented on SUREFIRE-1267:


[~juherr]
[~sumitsharma]
I have really no idea what {{sofAssert.assertAll()}} means.
Julian do you?

> Maven Surifire pluging fails 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 Project: There are test failures.
> [ERROR] 
> [ERROR] Please refer to C:\MavenTestNG\Project\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)


[jira] [Commented] (SUREFIRE-1267) Maven Surifire pluging fails with TesNG SoftAssert.

2016-08-03 Thread Sumit Sharma (JIRA)

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

Sumit Sharma commented on SUREFIRE-1267:


can anyone give update on this?

> Maven Surifire pluging fails 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 Project: There are test failures.
> [ERROR] 
> [ERROR] Please refer to C:\MavenTestNG\Project\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)