A method annotated with [TestInitialize] is run before each test.
Likewise [TestCleanup] is after each test.
[ClassInitialize] and [ClassCleanup] are run before and after the ‘suite’ of tests inside the TestClass.
A method annotated with [TestInitialize] is run before each test.
Likewise [TestCleanup] is after each test.
[ClassInitialize] and [ClassCleanup] are run before and after the ‘suite’ of tests inside the TestClass.