Like this:

[AssemblyFixture]
public class AssemblyCleaner
{
    [SetUp]
    public void SetUp()
    {
    }

    [TearDown]
    public void TearDown()
    {
    }
} 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of max2256
Sent: Thursday, February 19, 2009 12:53 PM
To: MbUnit.User
Subject: MbUnit AssemblyFixture


Hi! I have a problem... in MbUnit 2, I used the AssemblyCleanUp attibute
like the following:

[assembly: AssemblyCleanUp(typeof(AssemblyCleaner))]
...
public static class AssemblyCleaner
{
    [SetUp]
    public static void SetUp() { // do somthing }
    [TearDown]
    public static void TearDown() { // do somthing } }

How can I acheive this in MbUnit 3.... the AssemblyFixture attribute in
MbUnit 3 does not take any parameters!

Thanx

Max


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to