x


Can I use mocks in MonoDevelop?

I am using TDD to write my game logic, using Unity's packaged version of MonoDevelop. I can add the nunit.framework assembly to do regular unit tests, but I would also like to use mock objects. It looks like MonoDevelop is not packaged with the nunit.mocks assembly. Is there a way to make this work?

I did try installing NUnit on my workstation and then referencing the assemblies from there, and that worked for a while. Then, the tests failed to load, and I could not get any error message to help me track down the problem. Since I had not been using mocks yet, I just reverted to using MonoDevelop's packaged nunit assemblies.

more ▼

asked Jul 31 '11 at 09:45 PM

pvg gravatar image

pvg
16 1 2 2

(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x376
x181
x53
x31

asked: Jul 31 '11 at 09:45 PM

Seen: 811 times

Last Updated: Jul 31 '11 at 09:45 PM