NUnit SetUp and TearDown

Posted by Lijo on Programmers See other posts from Programmers or by Lijo
Published on 2012-11-05T09:54:20Z Indexed on 2012/11/05 11:24 UTC
Read the original article Hit count: 249

Filed under:
|
|

I have some experience in MS Test but new to NUnit.

  1. Whether NUnit [Setup] is corresponding to [ClassInitialize] or [TestInitialize] in MS Test?
  2. What is the NUnit attribute corresponding to [TestInitialize]?

REFERENCE:

  1. http://stackoverflow.com/questions/1873191/testinitialize-gets-fired-for-every-test-in-my-visual-studio-unit-tests

  2. http://stackoverflow.com/questions/4602288/nunit-testcontext-currentcontext-test-not-working

© Programmers or respective owner

Related posts about .NET

Related posts about unit-testing