Answer the question
In order to leave comments, you need to log in
Difference between TestInitialize and ClassInitialize in MSTestv2?
I'm watching itvdn - unit testing, which is built on MSTest and I can't understand ClassInitialize. TestInitialize - as I understand it, the method marked by it is triggered before each unit test (that is, if an object is created in my code block marked TestInitialize, it is logical => every time the object will be recreated).
But I don’t understand how the work with ClassInitialize and AssemblyInitialize happens.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question