I have taken the code example from this link to implement a new Nunit attribute to 'Repeat a test when failing'. I have added this code as a class in my solution.
I then call this new class along side the [Test]
attribute:
[Test, RepeatOnFailureAttribute(2)]
But the test does not repeat when failing. I think I need to add this attribute to the Nunit list of attributes. I see the shipped list of attribute's in the XML file nunit.framework, here I have added a new item:
.member. name="T:NUnit.Framework.RepeatOnFailureAttribute"
But I do not understand how adding this new item into the XML file can be called when we only have the nunit.framework.dll reference assigned to my project.
Any help would be greatly appreciated here folks. Thanks in advance.