IRetryAnalyzer on failure tests marked as skipped

48 views
Skip to first unread message

deepa...@gmail.com

unread,
Jun 13, 2025, 12:43:42 AMJun 13
to testng-users
Hello All,

We are using IRetryAnalyzer for retrying failed tests.  What we observed is when tests fail it is marked as skipped and it retries . 

Does tests will marked as skipped while retrying using IRetryAnalyzer? whats the rational behind this. 

Thank you ,

Krishnan Mahadevan

unread,
Jun 13, 2025, 10:15:34 PMJun 13
to testng...@googlegroups.com
Yes. What you see is the expected behavior. 

A failed test when retrying should have its earlier attempts a skipped ( if it eventually passes ) so that you have a record of all the attempts. Skipped status would ensure that builds dont fail. 

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

From: testng...@googlegroups.com <testng...@googlegroups.com> on behalf of deepa...@gmail.com <deepa...@gmail.com>
Sent: Friday, June 13, 2025 10:13:41 AM
To: testng-users <testng...@googlegroups.com>
Subject: [testng-users] IRetryAnalyzer on failure tests marked as skipped
 
--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/testng-users/7869e4db-0131-4831-8080-16efe311a371n%40googlegroups.com.

deepa...@gmail.com

unread,
Jun 15, 2025, 6:54:58 PMJun 15
to testng-users
Thank you Krishan , Much appreciated. 
Reply all
Reply to author
Forward
0 new messages