.net - What is the "preferred" method of creating mock objects for use with Visual Studio unit testing? -
I'm familiar with the castle's dynamic proxy and rhinomox, but I was wondering if Microsoft introduced Unit Testing, the first-class feature of Visual Studio, did they provide any standardized object with a funny tool to meet with it is?
Microsoft, at this time, does not provide its own malling framework, and still third party Refers to the equipment.
You can see it, even if you look through things like your official, where they say:
"Different types of tools are available that are available with mock objects The unit supports testing. The Training Management app uses a commercially available testing tool called Timmock Alotater provided by Timmomock, to run the unit test. "
If you search MSDN There are many articles about the test frameworks. The most common references are rhinomox, nmok, and tympac.