Don't feel bad. I think we've all fallen into this same trap once or twice.
Jeff. -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Ruprict Sent: Thursday, September 27, 2007 9:46 AM To: MbUnit.User Subject: MbUnit Re: TestDriven.NET skipping SetUp methods Ugh Well, it was marked as "protected", so that did it. And now I am marked as "public stupid" (FTR, I just downloaded some R# Live Templates, one of which is a SetUp method for a test fixture. I know it doesn't make me seem any smarter, but I feel better telling someone that.) Thanks Jamie. On Sep 27, 12:37 pm, "Jamie Cansdale" <[EMAIL PROTECTED]> wrote: > Check that your test and setup methods are marked as public. I don't > think MbUnit will see private setup methods and they will be skipped. > > Regards, > Jamie. > > --http://www.testdriven.nethttp://weblogs.asp.net/nunitaddin > > On 9/27/07, Ruprict <[EMAIL PROTECTED]> wrote: > > > > > I have a VS.NET solution where running my MbUnit tests with TDD.NET > > is skipping the SetUp methods. I know that this is usually an > > MbUnit version issue, but I have done all I can matching up the > > versions (Yes, I have seen Ayende/Oren's post). Also, to make this > > very odd, I have other solutions on the same laptop that run MbUnit > > tests with TDD.NET just fine. I just created this project today and > > I can't make it work. I am using the exact same dlls in all > > projects, but TDD.NET just won't run the SetUp method. > > > Any ideas on what else I can check? I am running the latest TD.NET > > (Just downloaded today - 2.9.2150) and 2.4.197 of MbUnit. I did try > > the latest MbUnit, but that did not help. > > > Any ideas? > > > Thanks for the help, > > Glenn --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
