Hi, You can build your own decorator.
Ciao, Richard. On 9/6/07, Jeff Brown <[EMAIL PROTECTED]> wrote: > > > Only if numThreads is a constant. It's a limitation imposed by the > attribute system. What's your use-case for this feature? > > public const int numThreads = 5; > > Jeff. > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] > On Behalf Of subart > Sent: Thursday, September 06, 2007 3:04 PM > To: MbUnit.User > Subject: MbUnit Is there a way to pass a variable to ThreadedRepeat()? > > > I want to be able to change the number of threads that I run. Is it > possible? > > [Test] > [ThreadedRepeat(numThreads)] > > > instead of > > [ThreadedRepeat(5)] > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MbUnit.User" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/MbUnitUser?hl=en -~----------~----~----~----~------~----~------~--~---
