Provide a nice default mocking library for unit testing
I think there is a need to have a mocking library inside .Net Framework which which quicken us to do a unit testing. As TDD growing, I think it will be handy if there is a default mocking framework comes by default from VS
5 comments
-
Joshua Weber - msft
commented
Have you investigated the Microsoft Fakes framework? Especially the ability to create stubs for unit testing. Fakes addresses many of the same goals and scenarios that many of the open-source frameworks provide.
-
kkurni
commented
Yes, it is nicer if comes out the box default one.
So easier for new developer to choose and have a standard version and reliable supported by MS. -
David Kean
commented
Any reason why something like Moq isn't good enough? Is it because it doesn't come in the box?
-
kkurni
commented
I know there is MS Test, But what may be good if that comes with mocking tool as well.
Such as nSubsitute, NMock and hopefully MS will have the default one.
-
Joe White
commented
.NET already comes with a default testing framework, and it's lousy compared to the open-source alternatives.