Hi all,
I have 2 tests. TestA and testB
TestA -> fails firsttime and passes on retry
TestB dependent on TestA using dependsOnMethods = "testA" attribute.
TestA uses retry analyzer @Test(retryAnalyzer = RetryAnalyzer.class) so that it can be rerun on failure.
Now the current behavior as below :-
1. TestA fails for 1st attempt and get retried.
2. TestA passes in 2nd attempt.
3. TestB marked as skipped.
I would expect TestB not to get skipped as latest result of testA is pass.
I have attached source code here to repro the same. Please let me know how to make testB run on retry. I dont want it to get marked as skipped.
Thanks
Shankar KC