Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; MenuItem has a deprecated constructor in /home/charl422/nunitsoftware.com/nunitv2/php/build_menu.php on line 34
NUnit - Repeat
NUnit 2.6.6 Legacy Documentation. View NUnit 3 Documentation

RepeatAttribute (NUnit 2.5)

RepeatAttribute is used on a test method to specify that it should be executed multiple times. If any repetition fails, the remaining ones are not run and a failure is reported.

Notes:

  1. It is not currently possible to use RepeatAttribute on a TestFixture or any other type of test suite. Only single tests may be repeated.
  2. Since a parameterized test method represents a suite, RepeatAttribute is ignored when it appears on such a method.