At work I am primarily a .NET developer and we use NMock in our unit testing (together with NUnit).
NMock has some very cool functionality that is so mind boggling that you would wonder how it is done. For example you can instantiate an interface and add methods dynamically to this object. This same functionality is also a part of for example the Python programming language but python sucks due to its lack of speed.
It was not too hard to figure out how to checkout/get the NMock source tree but as with most Unix tools, they make it far harder than it needs to be. So here are the steps I carried out:
1. Download and install TortoiseSVN. Reboot.2. make a folder called "nmock_source" or whatever you want to call it.
3. open a cmd prompt and cd to this directory.
4. type the following into the command prompt
It will then as you for a password. Just press enter. You will now be returned to the command prompt.
5. Now type the following to actually get all the source in the repository
Although the above steps are fairly straightforward, messing around with unix tools are a verifiable blackhole for time.
No comments:
Post a Comment