I suggest you ...

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

22 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    kkurnikkurni shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    5 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Joshua Weber - msftJoshua Weber - msft commented  ·   ·  Flag as inappropriate

        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.

      • kkurnikkurni commented  ·   ·  Flag as inappropriate

        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 KeanDavid Kean commented  ·   ·  Flag as inappropriate

        Any reason why something like Moq isn't good enough? Is it because it doesn't come in the box?

      • kkurnikkurni commented  ·   ·  Flag as inappropriate

        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 WhiteJoe White commented  ·   ·  Flag as inappropriate

        .NET already comes with a default testing framework, and it's lousy compared to the open-source alternatives.

      Feedback and Knowledge Base