|
MbUnit : RepeatAttribute
This page last changed on Jul 02, 2005 by peli.
The RepeatAttribute is a TestDecorator that causes the test method to be repeatidely invoked. The following samples calls 10 times the method before returning. Unable to find source-code formatter for language: cs. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml [Test]
[Repeat(10)]
public void NastyTest()
{ ... }
Note that the repetition is sequential since it is executed in a single thread. For multi-threaded repetition, see ThreadedRepeatAttribute. |
| Document generated by Confluence on Jun 11, 2007 11:56 |