RetryAnalyser and testng version greater than 5.8

View: New views
3 Messages — Rating Filter:   Alert me  

RetryAnalyser and testng version greater than 5.8

by Suresh Daniel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I am seeing that the tests that succeeded because of retry are included in the "failed" tests as well as in the "passed" tests in the IResultMap and in the testng-failed.xml file
This was not happening in 5.8 version of testng. I see this in 5.9 and in 5.10.

Anybody see the same?

Suresh



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to testng-users@...
To unsubscribe from this group, send email to testng-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: RetryAnalyser and testng version greater than 5.8

by Suresh Daniel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Cedric

Any idea why in the new version of testng(5.9 and above) when a test
is retried using retryAnalyzer attribute, it is added to both "Failed"
and "Passed" list in the ITestResultMap?


Suresh

On Nov 2, 5:06 pm, Suresh Daniel <suresh.dan...@...> wrote:

> Hi
>
> I am seeing that the tests that succeeded because of retry are included in
> the "failed" tests as well as in the "passed" tests in the IResultMap and in
> the testng-failed.xml file
> This was not happening in 5.8 version of testng. I see this in 5.9 and in
> 5.10.
>
> Anybody see the same?
>
> Suresh
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to testng-users@...
To unsubscribe from this group, send email to testng-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: RetryAnalyser and testng version greater than 5.8

by Cédric Beust ♔ :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Suresh,

On Tue, Nov 3, 2009 at 12:04 PM, Suresh <suresh.daniel@...> wrote:

Hi Cedric

Any idea why in the new version of testng(5.9 and above) when a test
is retried using retryAnalyzer attribute, it is added to both "Failed"
and "Passed" list in the ITestResultMap?

No.  I imagine the first attempt goes into the Failed bucket and the next one in Success, but obviously, there should be only one method in the final report, and it should be Success.

Can you file a bug on JIRA with some code that shows the issue?

Thanks!

--
Cédric



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to testng-users@...
To unsubscribe from this group, send email to testng-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en
-~----------~----~----~----~------~----~------~--~---