views:

34

answers:

1

I am "translating" a NUnit test to Visual Studios unit testing and I am wondering if the attribute [ClassInitialize()] in VS is equivalent to [SetUp()] in NUnit?

A: 

[SetUp] corresponds to [TestInitialize]

[TestFixtureSetUp] corresponds to [ClassInitialize]

Here's the full picture.

Darin Dimitrov
Great! Thanks a lot!
Stefan Ahlm