0

I'm developing a basic webapp and I'm using ASP.NET MVC, MOno and C# and MySQL for my database. I want to create a unit testing and use mocking. But I don't know how to setup or create a mock in unit testing. And what mocking framework should I use?

Please advise.

Many thanks.

1 Answer 1

1

These may help:

http://msdn.microsoft.com/en-us/magazine/cc163904.aspx

http://quickduck.com/blog/2008/02/18/unit-testing-mocking-and-dependency-injection/

There are several mocking frameworks. This question can help you pick one: https://stackoverflow.com/questions/37359/what-c-mocking-framework-to-use

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.