Community Page
- blog.ashmind.com Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- Interesting post. Appreciate it as I have seen something new now. Can I use this info on my blog using the direct link to your blog? Thanks in advance
- Well I had crash I think, and that was related to the fact that text was not set -- it required at least "" to be provided. But they have fixed it since, so now everything should work...
- Well, I drop a TextEditor component onto my form, and everhthing crashes. I suppose there is some 'proper' way to use it, but what I would really love is an example, because I could find...
- Ok, what exceptions are you getting? They might have broken something since the version I downloaded, or I could have occasionally set some options that is required by it to work correctly.
- Hi, I saw your post on StackOverflow regarding use of AvalonEdit, so I ended up downloading it and playing with it a bit. Unfortunately, after an hour of exception after exception, I gave up. So I...
Jump to original thread »
One of the places where I am likely to actively use expression trees is testing/mocking.
(I am not the first one to notice this â I saw some post on expression tree asserts, but I lost it).
In my day-to-day development I am using NMock2. Ayende’s Rhino Mocks may be mo ... Continue reading »
(I am not the first one to notice this â I saw some post on expression tree asserts, but I lost it).
In my day-to-day development I am using NMock2. Ayende’s Rhino Mocks may be mo ... Continue reading »
1 year ago
Would you please send me copy of the code?
Thanks.
1 year ago
Mine is ashmind+blog(at)gmail.com.
6 months ago
Nice one! I had a slightly different approach though (scroll downto "Improvements: NMock2 + C#3." at http://codevanced.net/post/Touching-a-hot-iron-... )
6 months ago
I have moved to Moq and it saved me from writing a whole new API for NMock2 just to get more modern syntax.
Also Moq people were very responsive at fixing bugs when they still had them.
I wish I could say the same about latest NMock2.
6 months ago
Latest release appears to be of December 06 2008 at sourceforge, and SVN statistics ( http://sourceforge.net/project/stats/detail.php... ) shows some checkins :)
Why do you think it's "dead for a while"?
6 months ago
I am subscribed to their newsgroup and there was only occasional activity for almost a year (consistent with no releases for a while).
It seems that they started releasing and the discussions moved elsewhere so that's the reason for my error.
However unless they already support .NET 3.5 syntax, it still seems for me that MoQ is easier to use for NET 3.5 projects.
5 months ago
The reason is that the developers of NMock version 1.0 and 2.0 (nmock.org) have stopped their development and it is continued by another team on http://sourceforge.net/projects/nmock2/
Back to lambdas:
Do you have a solution that supports defining expectations on properties and indexers as well?
Happy mocking
Urs