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 »
There are several annoying design flaws I often stumble into in .NET APIs. I haven’t seen Design Guidelines on this matter, so I think I’ll point to 3 of these myself.
The Generic Sin
Do provide a non-generic overloads to generic utility methods. Ayende ... Continue reading »
The Generic Sin
Do provide a non-generic overloads to generic utility methods. Ayende ... Continue reading »
1 year ago
1 year ago
1 year ago
This is something I have *thought* very carefully about. Trust me. I don't doubt we could do even better. Let me know if you have any ideas. (MbUnit v2 is a different story.)
As for internal test fixtures, this is something we have considered and can very easily change. It's not entirely clear its a good idea. For example, we might encounter problems in partial trust execution environments.
However, you do make a good case regarding the interaction with [InternalsVisibleTo] and the implied constraints on the visibility of any derived types. Previous requests for this feature have largely been from people wanting to mix test fixtures with production code.
In any case I'll go ahead and enable internal fixtures in the next update. Not really worth fussing over.
In the future, if there's anything else you want a tool to do, please just ask for it. It might already be there or it might be something that has just yet to be done pending sufficient demand.
1 year ago
As for Gallio, I'll enjoy working with it when it's out, but it is not here yet. So, since I wanted to extend a stable version, I haven't looked deep into Gallio.
1 year ago
I'm pretty smart and I spend a fair amount of time thinking about these issues upfront so that they are "solved by default." But I will miss stuff or I will postpone it due to conflicting priorities.
So I count on the community of other smart people like yourself to point out deficiencies that affect them so that they can be directly addressed.
Also keep in mind that I only found this post accidentally. So you're lucky I even noticed it at all. The issue tracker and mailing lists are much better ways to ensure that your feedback gets noticed and taken into consideration.
1 year ago
Rhino mock can't create partial mock on non pulic types. So I can't test my BC classes using partial mocking because they are all internal for BL and are accessible outside only with public facade.
1 year ago
Andrey, have you tried [assembly: InternalsVisibleTo(RhinoMocks.StrongName)]?