Counterpart for NUnit attribute [SetUp()] in Visual Studio
I am "translatin开发者_开发问答g" a NUnit test to Visual Studios unit testing and I am wondering if the attribute [ClassInitialize()]
in VS is equivalent to [SetUp()]
in NUnit?
[SetUp]
corresponds to [TestInitialize]
[TestFixtureSetUp]
corresponds to [ClassInitialize]
Here's the full picture.
精彩评论