Feature - Add 'Retry Attribute' to repeat test upon failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NUnit Framework |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
This issue is now being tracked on Github: https:/
Add an Test attribute for 'Retry'.
* The Retry Attribute would be called when a test fails.
* User can set x number of times to retry test before setting results as Fail
* Otherwise the test will Pass on x number run
Similar code has been written as custom Test Attributes here:
http://
and
http://
(Please note that I'm am only referencing this example code, I did not write it, and don't deserve any credit : )
You would make my team and I very happy testers to see this as part of version 3.0!
Keep up the great work.
Thanks for filing the bug. This has been discussed in the past but nobody documented it in the bug system.
Note to Implementors:
Do NOT use the code in the linked examples. These are for MbUnit won't work for us. In addition, MbUnit's license is not compatible with NUnit's, so we couldn't use their code legally - at least as far as I know. (Not a lawyer, so I'm being conservative about this.)