agent-net-nunit
agent-net-nunit copied to clipboard
RP RC 4.0 Retry icon doesnt show for test based on nunit
RP RC 4.0 Retry icon doesnt show for test based on nunit.
@nvborisenko , is it possible to add a support of retry on nunit?
https://github.com/nunit/docs/wiki/Retry-Attribute also we have custom retry on fails, so i think it wouldn't show retry in such case. here is how we implement custom retry. https://testingrepository.com/retry-failed-tests-in-nunit/
Will take a look.
It's possible. Will be implemented in next release of the agent. Current state is beta, architecture of reporting should be redesigned (reporting will live in separate process to avoid affecting tests thread/process/appdomain/whatever).
https://github.com/reportportal/commons-net/issues/5
@nvborisenko thanks.
@nvborisenko @KursLabIgor any updates on that?
@DzmitryHumianiuk no updates from my side.
@DzmitryHumianiuk It seems RP api should be extended. NUnit doesn't generate new test event when retrying it. So in terms of nunit we have one test item with repeated log messages there. So we can only provide the number of retries when finishing test item. And need one more issues to be resolved: https://github.com/nunit/nunit/issues/2916
@nvborisenko can we make an agent call test case creation with retry flag on retry in nunit? The same does java based client.
Does any event available in nunit, which correspond to initiated re-try?
Maximum what agent knows, this is how many times test was executed. In RP it is only 1 test item.
sad :/
Blocked by https://github.com/nunit/nunit/issues/1879
I have a custom retry logic for my nunit tests. But RP shows the launch as "in progress" when the tests are done running. Are there any workarounds I could do?
@quldude at least share details about your custom retry. Ideally, a simple test project to reproduce the issue.
I was able to use reportclient to achieve my purpose. Thanks!